Results 1 to 2 of 2

Thread: DateTime

  1. #1
    Join Date
    Mar 2006
    Posts
    127

    DateTime

    Hi All,

    I need to purge the table but leave 2 most current years worth of data. Hod do I do that?

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Delete those data older than 2 years. Does the table have datetime column? If so, you can use dateadd function in where clause to get old data.

Posting Permissions

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