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 Ücretsiz · Tek tıkla abonelikten çıkma
Zeka Digest - ücretsiz
Günlük en önemli güvenlik haberi · herhangi bir zamanda alınabilir
💬 Topluluk tartışması ve yorumlar
Tartışmayı başlat: Social Chat yayın akışı veya yukarıdaki ekleme formuyla uzman katkısı gönder.