Viewing 2 posts - 1 through 2 (of 2 total)
Thanks all,
In the end I redesigned the stored procedure to use sp_executesql so that I could return values from the dynamic SQL statements. It works pretty well.
Whilst your other suggestions...
April 23, 2008 at 9:17 am
#806136
Thanks Michael, I'll try your suggestion.
I think this is probably not a job for dynamic SQL as the do something I alluded to is quite complex. Although it's not...
April 22, 2008 at 2:09 pm
#805747