Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sproc doesn't appear to do what I thought it should

Status
Not open for further replies.

majordog

Programmer
Jul 8, 2002
222
0
0
CA
Hey all,

below is a piece of code frominside one of my sprocs. When I run it in T-SQL-Debugger, none of the assigned variables receive any value from the below statement. Can somebody tell me me why?

SELECT samplemr = @samplemr, ambientmr = @ambientmr, avspan = @avspan, avzero = @avzero
FROM Emission_Results
WHERE [Id] = @EmissionID
 
Hi
it should be @variable = field not field = variable

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top