TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
122.6k
AutoGenrate Number in SQL.
Aug 31 2015 2:34 AM
I have table called "Call" the columns are CallNo
, CallNumber<nvarchar(500)>, CallDate
What i When Call being enter CallNumber should genrate 000001 so on depend upon CallNo.
I used in computed Column Specification Formula, ('00000'+right(CONVERT([nvarchar](250),[CallNo],(0)),(5)))
If CallNo=1 then i shows 000001
but if Call No=100 then shows 00000100
digit are increase. i do'nt want to increase digit
if Call No=100 then i shows 000100
how to do it in SQL.
Thanks
Basit.
Reply
Answers (
5
)
how to find sql server password of client macheine
how to combine multiple select statements in stored proc