exec('UPDATE r_pdf_confidential_build_detail SET '+@businesss_Field1+'=Cast(@business_number as varchar(11)) where @business_number=@business_counter and @chronid=@chron_id')
I get the error
Must declare the variable '@business_number'
@business-number is a variable that is defined already. I think something is wrong with my syntex. Any suggestions.
I get the error
Must declare the variable '@business_number'
@business-number is a variable that is defined already. I think something is wrong with my syntex. Any suggestions.