Declare @UID varchar(30)
Declare @UserId varchar(50)
SET @UID='0'
SET @UserId = @UID+1;
Select @UserId as U
I want To Know How Increment value on Every Execute
Like
1
2
3
4
so please help me
Know the answer? Post it. Somebody with the same question will find it here.
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
Ahmed JS80 reputationPosted Apr 2, 2017, 10:24 AM EDT
Ramesh BarikRank #3,664 · 401 reputationPosted Apr 2, 2017, 8:07 PM EDT
Manish KumarRank #1,622 · 956 reputationPosted Apr 2, 2017, 11:05 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 1, 2017, 2:19 AM EDT