Disclosure: I build Schemity, a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Give a table's own key IDENTITY unless you need what only a sequence does: one number space across several tables, a number before the row exists, or a column you can renumber later without rebuilding the table. A sequence default... Weiterlesen: SQL Server IDENTITY vs SEQUENCE: Which Should a Primary Key Use?
Intelligence View
⚡ tsecurity.de Intelligence
SQL Server IDENTITY vs SEQUENCE: Which Should a Primary Key Use?
Disclosure: I build Schemity, a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Give a table's own key IDENTITY unless you…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Sichere Programmierung
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Security Briefing Bezpłatnie · Wypisanie 1 kliknięciem
Intelligence Digest - bezpłatnie
Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
💬 Dyskusja społeczności i komentarze
Rozpocznij dyskusję w strumieniu transmisji Social Chat lub prześlij wyżej wkład ekspercki przez formularz uzupełnień.