SQL statement help for date parameters [message #20485] |
Tue, 28 May 2002 12:48 |
Arpit
Messages: 99 Registered: March 2001
|
Member |
|
|
Hello All,
Can someone help me with this sql statement.
I need to write a SQL statement to retreive data on the weekending_date where in the user will key in the two weekending_dates at the time of running the script.
How do I pass date parameter values ?
Any help on this would be highly appreciated.
Thanks
|
|
|
|
Re: SQL statement help for date parameters [message #20494 is a reply to message #20485] |
Wed, 29 May 2002 05:10 |
Arpit
Messages: 99 Registered: March 2001
|
Member |
|
|
Hello K.Sreenivasan,
Thanks for your response,
I need help on a SQL statement that I'm running in MS Query connecting through Oracle 8.0.5 ODBC to retreive some data from my employee table.
I need to pass "hiredate" parameter values during run time. How can i include this in my SQL script.
ex: will this work:-
SELECT SCOTT_EMP.HIREDATE
FROM SCOTT_EMP
WHERE (((SCOTT_EMP.HIREDATE) Between ? And ?));
|
|
|