Hi,
When I do a select * from the table,thats what it displays.
Thanks
Satish
User Profile
Collapse
-
using timestamps in sql statements on DB2 tables
Hi ,
I am very new to DB2 and I am trying to extract some rows from a db2 table based on a field of timestamp datatype.
I am trying the following.
1) select * from test where add_tms ='08/03/2006 12:00:00 AM'
2) select * from test where add_tms>='07/02/2006 12:00:00 AM' and add_tms<='08/03/2006 12:00:00 AM'
both the sql statments dont work.
any help?
thanks in advance...
No activity results to display
Show More
Leave a comment: