Josh Harp
  • Posts: 11
  • Joined: 10/2/2017
I have mine set to replace when ife is typed

IF OBJECT_ID(N'tempdb..<tbnm, sysname, table>' 
) IS NOT NULL
BEGIN
    DROP TABLE <tbnm, sysname, table> 
END
#
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.