Hi all,
How to create Auto generate number in SQL Server. Exp "Req0001,Req0002...." like that. after insert the data the auto generate number will be created.
Know the answer? Post it. Somebody with the same question will find it here.



Please use new CONCAT function which is available from SQL server 2014.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priyanka JainRank #356 · 7K reputationPosted Aug 5, 2019, 3:14 AM EDT
Code AloneRank #488 · 5.1K reputationPosted Aug 5, 2019, 1:11 AM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Aug 5, 2019, 1:05 AM EDT
Sonu GuptaRank #1,261 · 1.4K reputationPosted Aug 5, 2019, 2:23 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 5, 2019, 5:41 AM EDT
Bidyasagar MishraRank #766 · 3K reputationPosted Aug 6, 2019, 5:44 PM EDT