August 26, 2010 at 10:48 am
You will need to put square brackets around your index and table names
August 26, 2010 at 10:52 am
Ness (8/26/2010)
...Execute Sp_executeSql stmt does not run the sql. The printed version looks right but it does not run against the db (verified via profiler). Any ideas?...
What it returns to you? Error?
August 26, 2010 at 11:04 am
BTW, I've tried your script - it works for me.
August 27, 2010 at 5:54 pm
Many thanks for your responses - I am not in the office for a while but I will check as soon as I return.
SQL DBA
Every day is a school day, and don't trust anyone who tells you any different.
http://sqlblogness.blogspot.co.uk
Viewing 4 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply