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: Programación segura
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Briefing de seguridad Gratis · baja en 1 clic
Intelligence Digest — gratis
Cada día las noticias de seguridad más importantes · baja en cualquier momento
💬 Debate de la comunidad y comentarios
Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.