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
Hassan Siddiqui
NA
152
14.7k
sql procedure for select and insert at same time
Jul 4 2018 6:54 AM
Hi dear reader
thanks for devoting your precious time.
Here my question is
i have a table tblChallanNumber
i want to write a store procedure such that 1st i select the last entered challan number and then add 1 to this and then insert incremented challan number at the same table.
and finally i want to select the new challanNumber to print .
and importantly i want to do the above all work in a singe store procedure.
thanks.
Reply
Answers (
7
)
Need Query for this output
How to Convert numeric data type with 1 digit decimal