Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should script of a table show all index keys?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01547947
Message ID:
01547952
Vues:
28
>>>Hi,
>>>
>>>I see something strange (maybe just to me). I am looking at a table in SSMS. And in the Indexes branch I see 3 index tags.
>>>But when I script the table (by Right-Mouse click -> Script Table As -> Create To -> New Query Window I don't see anywhere these 3 index tags. Is this how it should be? TIA.
>>
>>Have you verified options for scripting in Tools/Options/SQL Server Object Explorer/Scripting/Script Indexes?
>
>I didn't know about this option. Good thing you mention it as I often times use the script from one database to create a table in another database. I suppose I was missing index keys. What else should I set to True in this SQL Server Object Explorer?
>Thank you!

You can set most of the options to true - examine each one and decide if you need it.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform