Quantcast
Channel: Is a Primary Key necessary in SQL Server? - Stack Overflow
Viewing all articles
Browse latest Browse all 11

Is a Primary Key necessary in SQL Server?

$
0
0

This may be a pretty naive and stupid question, but I'm going to ask it anyway

I have a table with several fields, none of which are unique, and a primary key, which obviously is.

This table is accessed via the non-unique fields regularly, but no user SP or process access data via the primary key. Is the primary key necessary then? Is it used behind the scenes? Will removing it affect performance Positively or Negatively?


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images