Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to drop a field with index in SQL?
Message
From
08/07/2011 12:23:40
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01517683
Message ID:
01517714
Views:
26
>>>If the index is PK index you need to drop constraint not index.
>>
>>Until now I haven't used PK except when I have an autoincrement field. What is the advantage of a PK other than assurance of uniqueness? Are there performance gains?
>
>If you want to create proper normalized design for your database, then you need to create primary key in every table.
>
>Please take a moment to read this blog post
>http://blogs.lessthandot.com/index.php/DataMgmt/DBProgramming/best-practice-every-table-should-have-a

What I meant to say was is that we do use primary keys in all tables, but we don't mark them as PK constraint in the SQL Server database. I was wondering what gain there is to have that constraint.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform