StackOverflow Questions for Tag: primary-key

Duc Tran
Duc Tran

Reputation: 6304

Is it fine to have foreign key as primary key?

Score: 171

Views: 316262

Answers: 9

Read More
Geetarman
Geetarman

Reputation: 11

C# SqlBulkCopy - Violation of Primary Key constraint

Score: 1

Views: 102

Answers: 1

Read More
Lieven Cardoen
Lieven Cardoen

Reputation: 25969

Is a primary key automatically an index?

Score: 26

Views: 48857

Answers: 4

Read More
user2320821
user2320821

Reputation: 1231

reasoning that creating a primary key satisfies the first normal form

Score: 3

Views: 3184

Answers: 5

Read More
Ishita Agnihotri
Ishita Agnihotri

Reputation: 19

What is the use of a primary key when non-unique values can be entered in the database?

Score: 0

Views: 1449

Answers: 1

Read More
Jason Rice
Jason Rice

Reputation: 544

Postgres Composite Primary Key Dependency

Score: 0

Views: 1568

Answers: 3

Read More
Dabblernl
Dabblernl

Reputation: 16131

How to retrieve the last autoincremented ID from a SQLite table?

Score: 114

Views: 163148

Answers: 11

Read More
Oli
Oli

Reputation: 239918

Generating a non-sequential ID/PK for a Django Model

Score: 35

Views: 25270

Answers: 7

Read More
HAA
HAA

Reputation: 63

SQL Server Deadlock Delete Insert Statement

Score: 1

Views: 88

Answers: 1

Read More
Tim
Tim

Reputation: 1215

What is the difference between a primary key and a unique constraint?

Score: 53

Views: 54042

Answers: 15

Read More
Begumm
Begumm

Reputation: 69

solve error "The entity cannot be tracked"

Score: -1

Views: 72

Answers: 1

Read More
ali
ali

Reputation: 23

Predicting the primary keys exhaustion in MySQL based on rate of insertion

Score: 0

Views: 237

Answers: 3

Read More
SE_VS_NET
SE_VS_NET

Reputation: 129

How to rename keys ("PK_") and constraints ("DF_") automatically upon renaming table and/or column in SQL Server?

Score: 2

Views: 486

Answers: 2

Read More
ratamahat
ratamahat

Reputation:

Two foreign keys instead of primary

Score: 9

Views: 8929

Answers: 8

Read More
molsonite
molsonite

Reputation: 81

How to efficiently match different versions of grouped elements?

Score: 0

Views: 47

Answers: 1

Read More
Arul
Arul

Reputation: 69

JPARepository.save method is not detecting Primary Key Violation trying to insert a record the second time

Score: 0

Views: 57

Answers: 1

Read More
Justin Hollender
Justin Hollender

Reputation: 373

Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object

Score: 20

Views: 347463

Answers: 8

Read More
Owen
Owen

Reputation: 4407

Table with Int Clustered Identity & NVarChar Primary Key - Which one do I join to?

Score: -1

Views: 495

Answers: 2

Read More
Cbomb
Cbomb

Reputation: 75

getting PHP notices from my search script saying that the primary key column is undefined in Sphinx

Score: 0

Views: 697

Answers: 1

Read More
bavaza
bavaza

Reputation: 11057

Obfuscating timestamps in UUID v7

Score: -1

Views: 297

Answers: 1

Read More
PreviousPage 1Next