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: Programmazione sicura
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Briefing di sicurezza Gratuito · disdetta in 1 clic
Intelligence Digest — gratuito
Ogni giorno le notizie di sicurezza più importanti · annullabile in qualsiasi momento
💬 Discussione della community e commenti
Avvia la discussione nel flusso broadcast della Social Chat oppure invia qui sopra un contributo esperto tramite il modulo di integrazione.