Jul 12, 2001 #1 FontanaS Programmer May 1, 2001 357 US I have a variable called @TimesRan that is defined as a Int. Inside the stored procedure I want to assign that variable the value of 1 like: @TimesRan = 1 but i keep getting errors. what is the correct syntax? thanks
I have a variable called @TimesRan that is defined as a Int. Inside the stored procedure I want to assign that variable the value of 1 like: @TimesRan = 1 but i keep getting errors. what is the correct syntax? thanks
Jul 12, 2001 #2 foxdev Programmer Feb 11, 2000 1,995 US Either of the following: [tt]set @TimesRan = 1 select @TimesRan = 1[/tt] Robert Bradley Support operation moo! Visit the OpCow page http://www.agrainofhope.org/opcow.shtmlto help in this cause Upvote 0 Downvote
Either of the following: [tt]set @TimesRan = 1 select @TimesRan = 1[/tt] Robert Bradley Support operation moo! Visit the OpCow page http://www.agrainofhope.org/opcow.shtmlto help in this cause