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
yesubabu k
1.1k
644
62.3k
reset invNo for the next financial year
Mar 16 2018 11:45 PM
dear experts,
Last record---> 918190008091
now i need ---> 918190000001
my SQL query is
select '91718'+right('000000'+cast(isnull(max(cast(right(si_vInvoiceNo,7) as int)),0)+1 as varchar(33)),7) as vInvoiceNo from Sales_Invoice
how can i reset for next financial year 918190000001
Reply
Answers (
1
)
src Pivot sql with parametrs
What Is SSRS Report ?