Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Charles Hawkins Deduping Data in SQL Server 2005 RE: Deduping Data in SQL Server 2005
drnetwork
SSCommitted
Points: 1815
More actions
February 7, 2006 at 3:37 am
#619199
When you are populating the record set, take out the GO between the next-to-the-last and the last insert statements. Having this penultimate GO in the set of queries will remove the scope of the @NOW variable and cause the last INSERT to fail.