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 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy