Home Forums SQL Server 2008 SQL Server 2008 - General Issue with Sp_executeSql table variable output RE: Issue with Sp_executeSql table variable output
s_osborne2
SSCertifiable
Points: 6726
More actions
October 10, 2013 at 8:20 am
#1657576
Hi,
The last line of your query references @tblAmount but you haven't declared it and given it a type. That's why it's failing.
Thanks,
Simon