Remove Table Older Than 2 Weeks

  • SQL 2000 on Win2003.

    How would I drop a table with an unknown name that is older than 2 weeks old?

    Thanks!

  • SYSOBJECTS System table has a CrtDate (create date) column which should meet your needs. Be careful you only search for user tables.

  • Got it, thanks!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply