SQL Server | Autonumbers

Problema: Como usar campos chave “autonumber” no SQL Server?

Solução: Colocar o tipo do campo como “int”, e em “Identifier” colocar o nome do próprio campo com as definições (1, 1) em que o primeiro 1 define o valor inicial e o segundo 1 define o tamanho dos incrementos.

Fonte: Fórum Daniweb.com
http://www.daniweb.com/forums/thread23730.html

Comments

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated