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?
↧