Pooja Chowdhury

Pooja Chowdhury

  • 1.7k
  • 396
  • 31.1k

id incrementation

Jun 28 2016 7:27 AM
i want that the userid is auto incremented
 
bsed on 
SELECT @UserID=(MAX(UserID) + 1) FROM  [User]
 
but 1st time  how to userid will insert 1 respect of userid.
 
 
 
 

Answers (1)