Quantcast
Channel: SQLServerCentral » SQL Server 2012 » SQL Server 2012 - T-SQL » Latest topics
Viewing all articles
Browse latest Browse all 4901

script if exists drop then create

$
0
0
in sql server 2012 i created an index then was going to create the script to do the if existence check then drop index and create it. In 2012 if doesn't appear to include the if eixsts part. just drop and create. Im right clicking the index then script index as then drop and create.in 2008r2 the existece check was automatically coded in. Is there a setting somewhere in sql server 2012 where i can for the wxistence check to be scripted?

Viewing all articles
Browse latest Browse all 4901

Trending Articles