sql insert into table from select without duplicates (need more then a DISTINCT)

前端 未结 5 537
渐次进展
渐次进展 2021-01-31 11:01

I am selecting multiple rows and inserting them into another table. I want to make sure that it doesn\'t already exists in the table I am inserting multiple rows into.

5条回答
  •  -上瘾入骨i
    2021-01-31 11:41

    There are a few MSDN articles out there about this, but by far this one is the best:

    http://msdn.microsoft.com/en-us/library/ms162773.aspx

    They made it real easy to implement and my problem is now fixed. Also the GUI is ugly, but you actually can set minute intervals without using the command line in windows 2003.

提交回复
热议问题