Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Significance of index names?
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01513532
Message ID:
01513616
Views:
42
>>>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform