How do I delete rows greater than 6 months old , but ensure I have at least 100 rows left in a table using SQL?

前端 未结 0 1901
刺人心
刺人心 2020-11-27 07:56

Consider the following table definition:

FooTable
   ID int,
   TimeStamp datetime,
   Data varchar(50)

I would like to keep only the recent

相关标签:
回答
  • 消灭零回复
提交回复
热议问题