Hello everyone,
I am trying to generate a sequence number only when inserting the data to the database the code is like (PROJ_2018_000001).where i am trying to generate this by local methods and some cancatination.but i am unable to increment the sequence from the last sequence instead i the sequence is getting generated from (PROJ_2018_000001) by (PROJ_2018_000002) iteself.
how to generate the next sequence by previous sequence instead by always (PROJ_2018_000001).
Thank you in advance.
Piyush PansuriyaRank #454 · 5.5K reputationPosted Nov 21, 2018, 11:08 PM EST
Piyush PansuriyaRank #454 · 5.5K reputationPosted Nov 21, 2018, 7:39 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 21, 2018, 7:57 PM EST
SWAMY YTRank #2,119 · 673 reputationPosted Nov 21, 2018, 8:37 PM EST
Piyush PansuriyaRank #454 · 5.5K reputationPosted Nov 21, 2018, 8:56 PM EST
SWAMY YTRank #2,119 · 673 reputationPosted Nov 21, 2018, 9:03 PM EST
SWAMY YTRank #2,119 · 673 reputationPosted Nov 21, 2018, 9:05 PM EST
Piyush PansuriyaRank #454 · 5.5K reputationPosted Nov 21, 2018, 10:32 PM EST
SWAMY YTRank #2,119 · 673 reputationPosted Nov 21, 2018, 11:01 PM EST
SWAMY YTRank #2,119 · 673 reputationPosted Nov 21, 2018, 11:12 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts