Mukesh

Mukesh

  • NA
  • 228
  • 42.8k

How to Increment Value

Apr 1 2017 5:45 AM
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 

Answers (4)