![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 29 Sep 2004 @ 20:11:32 GMT
Michael, A question or comment about this:
"where a.account_number = b.account_number
and a.statement_date/100 = 200408 ;"
Should it not be?
"where a.account_number = b.account_number
and a.statement_date/100 = 10408 ;"
Or is this something the my version of Queryman/ODBC likes to do? This puts the century in the results.
select(current_date /100 ) + 190000
Results: 200409
The select current_date / 100 returns 10409 ; Paul
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||