Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates

Status
Not open for further replies.

EscapeUK

Programmer
Joined
Jul 7, 2000
Messages
438
Location
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.
 
Try this ( I am not sure though)
table_name."field_name" = {ts '1997-05-15 00:00:01.00'}
 
i need to pass it in as a parameter
 
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top