I setup what I thought would be a simple job to archive some data...Step 1INSERT INTO WorkTrack_Archive.dbo.t_spn_item_count_histSelect * FROM WorkTrack.dbo.t_spn_item_count_histWHERE xCollectionDT < DATEADD(m,-1,GETDATE())
Step 2DELETE FROM WorkTrack.dbo.t_spn_item_count_histWHERE xCollectionDT < DATEADD(m,-1,GETDATE())
Step 1 worked just fine, but Step 2 gave me a lock error:“The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users.”Is there a way where I can have step 2 not attempt to lock the table?TIA,Ken