in reply to Oracle Dates DBD
If you want to use it in your select then you have to use variables, however if you want to use it in your where you can use place holders. Place holders dont work in selects.
So, you can do this select count(*) from dual where todate (?, 'dd-mon-yyyy') < sysdate
Update: Removed a completely incorrect statement. thx tommyw.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Oracle Dates DBD
by tommyw (Hermit) on Aug 12, 2002 at 15:13 UTC | |
by Ryszard (Priest) on Aug 12, 2002 at 15:24 UTC | |
by tommyw (Hermit) on Aug 12, 2002 at 15:29 UTC |