Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Posts
    1

    Unanswered: Date Manipulation

    I need to retreive data from a table with date column having dates 3 months earlier. Please let me know the date function to do the necessary manipulation.

  2. #2
    Join Date
    May 2003
    Location
    Phoenix, US
    Posts
    39

    Re: Date Manipulation

    Hi,

    Probably you can use the Month function available

    select * from tab1 where abs(month(col1) - month(currentdate)) > 3

    Thanks
    Sateesh

    Originally posted by sesunda
    I need to retreive data from a table with date column having dates 3 months earlier. Please let me know the date function to do the necessary manipulation.
    OCP,IBM UDB,SYBASE DBA
    TCS, BANGALORE, INDIA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •