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.