June 5, 2008 at 12:25 pm
Comments posted to this topic are about the item Drop a table and views
July 23, 2008 at 7:03 am
save yerself some typing:
if object_id('dbo.table_name') is not null
drop dbo.table_name
toss that at the top of the script too before dropping the sp ahead of the create statement
May 10, 2016 at 7:01 am
Thanks for the script.
May 10, 2016 at 7:01 am
Robert Seliga (7/23/2008)
save yerself some typing:if object_id('dbo.table_name') is not null
drop dbo.table_name
toss that at the top of the script too before dropping the sp ahead of the create statement
Thanks for that.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply