Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Must declare the variable '@ComputerName'. Expand / Collapse
Author
Message
Posted Tuesday, November 06, 2007 5:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, March 19, 2008 5:21 AM
Points: 4, Visits: 9
Server: Msg 137, Level 15, State 2, Line 13
Must declare the variable '@ComputerName'.

I am getting this error please help me to resolve this issue.
Post #418980
Posted Tuesday, November 06, 2007 5:34 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, March 13, 2014 5:49 AM
Points: 1,391, Visits: 608
where & when you get error ?
provide code ?



Post #418983
Posted Tuesday, November 06, 2007 5:45 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, January 19, 2009 4:02 PM
Points: 223, Visits: 108
Oh........

U r calling a proc with an Output parameter...

Declare @computername varchar(50)
Exec proc_name @computername output

Thanks.
Post #418990
Posted Tuesday, November 06, 2007 6:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, March 19, 2008 5:21 AM
Points: 4, Visits: 9
Thanks Sir, Problem got resolved. Thank you Very Much.
Post #418998
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse