View previous topic :: View next topic
|
Author |
Message |
shell100
New User
Joined: 14 Apr 2006 Posts: 25 Location: Banglore,India
|
|
|
|
Hi,
As per my requirement i have to code db2 query in jcl.
Select A_ID
from table B
where A_DATE =! Current_date
How to get current date here. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Quote: |
Hi,
As per my requirement i have to code db2 query in jcl.
Select A_ID
from table B
where A_DATE =! Current_date |
Can not use date functions here?
Regards
Rupesh |
|
Back to top |
|
|
steve
New User
Joined: 24 Mar 2005 Posts: 16 Location: Long Island
|
|
|
|
the following shld work for u..
Select A_ID
from table B
where A_DATE <> CURRENT DATE |
|
Back to top |
|
|
|