Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
id incrementation
aiswarjya sarengi
8y
216
1
Reply
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.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Microsoft SQL Server Management Objects Collection -- Instal
Warning: Null value is eliminated by an aggregate or other S