Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 scripting

Author  Topic 

psangeetha
Yak Posting Veteran

95 Posts

Posted - 2009-11-30 : 16:55:10
Hi all,

I'm generating scripts via SSMS for the tables in a database. I right clicked on the database- tasks-generate scripts- I selected Tables option, I dont get the index creations in the script.. Is there anything I'm missing?

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-30 : 17:03:38
You need to specify that in the scripting GUI. It is disabled by default.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -