Aug 26, 2002 #1 EscapeUK Programmer Jul 7, 2000 438 GB Using Query Designer and trying to use a date as a parameter. The DB i am using is an Oracle one and the dates are in the format of 05/05/2001 07:55:48 How do i use this in my SQL statement desperate help needed.
Using Query Designer and trying to use a date as a parameter. The DB i am using is an Oracle one and the dates are in the format of 05/05/2001 07:55:48 How do i use this in my SQL statement desperate help needed.
Aug 26, 2002 #2 mathew001 Programmer Jun 28, 2002 25 US Try this ( I am not sure though) table_name."field_name" = {ts '1997-05-15 00:00:01.00'} Upvote 0 Downvote
Aug 26, 2002 Thread starter #3 EscapeUK Programmer Jul 7, 2000 438 GB i need to pass it in as a parameter Upvote 0 Downvote
Aug 26, 2002 #4 mathew001 Programmer Jun 28, 2002 25 US When you create the parameter you have to select the option 'DateTime' for 'Value Type'. It should work for you. Now when you pass the parameter you may aslo try this DateTime (YYYY, MM, DD, HH, MM, SS) as parameter. Upvote 0 Downvote
When you create the parameter you have to select the option 'DateTime' for 'Value Type'. It should work for you. Now when you pass the parameter you may aslo try this DateTime (YYYY, MM, DD, HH, MM, SS) as parameter.