Alibaba2003
Programmer
hi i would like to build a stored procedure that takes a number as an input. Say starting check number. For each row that the SP returns. I would like to increment the check number by 1.
Sample Iput: @StartingCheckNumber = 2345
Exec sp_Check_nums will produce
Payee CheckNumber Amount
----- ------------ -------
Jack Balance 2345 100.00
Morris Overdraft 2346 555.00
Nataly AllWidrawnInDeMall 2357 123.99
Thanks
It's Nice to Be Important But It's more Important to BE Nice
Sample Iput: @StartingCheckNumber = 2345
Exec sp_Check_nums will produce
Payee CheckNumber Amount
----- ------------ -------
Jack Balance 2345 100.00
Morris Overdraft 2346 555.00
Nataly AllWidrawnInDeMall 2357 123.99
Thanks
It's Nice to Be Important But It's more Important to BE Nice