Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 21, 2010 03:25 PM by customer22
Oct 18, 2010 08:49 PM|LINK
Thanks for everyone help.
I have a procedure. I need to print the variable to debug.
Here is my code:
select @UIT= TYPE from tableone where name = @name and id = @id
I got the error: Msg 102, Level 15, State 1, Line 9
Incorrect syntax near '@UIT
How to print the variable in procedure.
Thank you very much!
Oct 18, 2010 09:37 PM|LINK
Did you declare that UIT variable
Declare @out varchar(100)select @out=SomeColumn from TableName where SomeColumn=SomeValueprint @out;
Oct 21, 2010 03:25 PM|LINK