DB/SQL Server

MS SQL auto_increment

linuxism 2012. 12. 7. 15:16


id int identity(1, 1) not null  

identity(1, 1)에서 왼쪽은 시작 번호, 오른쪽은 증가 숫자