User Profile

Collapse

Profile Sidebar

Collapse
sat
sat
Last Activity: Aug 7 '06, 02:21 PM
Joined: Aug 4 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi,
    When I do a select * from the table,thats what it displays.
    Thanks
    Satish
    See more | Go to post

    Leave a comment:


  • sat
    started a topic using timestamps in sql statements on DB2 tables

    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...
    See more | Go to post
No activity results to display
Show More
Working...