Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Significance of index names?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01513532
Message ID:
01513616
Vues:
43
>>>>>Hi,
>>>>>
>>>>>In VFP index tags have certain significance as they are used in SEEK() function. When creating index tags in SQL Server does it really matter the names of the index tags? If yes, what is it, then I will follow a certain convention.
>>>>>
>>>>>TIA.
>>>>
>>>>AFAIK, no.
>>>>But I always named Primary keys PK_nameoftag and all others IX_nameoftag
>>>
>>>Thank you. I will follow your naming convention (if it is good enough for you it must be good). However, I didn't know you create a primary key index tag; I thought SQL Server creates it automatically. I was wrong?
>>
>>Yes, you are wrong :-)
>>Open table for design in SSMS.
>>Select the field(s) you want to be primary keys and click the button in toolbar that looks like a key :-)
>
>I did that. Is your point that after making a column to be a primary key no additional index tag has been created in the Indexes?

You must save the changes and refresh index node in Object Explorer.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform