Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Script tables but why not include their non-clustered indexes ? Expand / Collapse
Posted Wednesday, April 14, 2010 11:15 PM


Group: General Forum Members
Last Login: Wednesday, August 5, 2015 4:14 AM
Points: 195, Visits: 555
Hello, I am using SQL 2005, I right-clicked a database's tables and saved its table scripts as a text file or sent it to a new Query window.
However, why the output didn't have its non-clustered indexes or unique constraints ?

Consequently, I couldn't create some foregin keys.

Please tell me how can I script a database's tables including their non-clustered indexes and/or unique constraints.

Post #903750
Posted Wednesday, April 14, 2010 11:29 PM



Group: General Forum Members
Last Login: Today @ 2:43 AM
Points: 1,882, Visits: 2,964
duplicate post.

Msg 8134, Level 16, State 1, Line 1
Divide by zero error encountered.
Post #903756
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse