Viewing 5 posts - 1 through 6 (of 6 total)
By changing the query to what is below, I got it working without doing that. Now to just try to remember it for next time.....
USE [DB1]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER...
September 22, 2009 at 3:55 pm
Elliott W (9/22/2009)
But if you execute your update logic, that whole section of code in...
September 22, 2009 at 3:47 pm
Elliott W (9/22/2009)
September 22, 2009 at 3:35 pm
By adding
USE [DB1]
GO
Before I start the cursor, convert the column to a non-nullable, set it as the primary key & delete the temp column I got it working.
September 22, 2009 at 2:27 pm
dsdeming (9/4/2009)
I think you're missing some quotes.Try AND o.NAME = ''' + @tablename + ''''
Thank you, that fixed it. Always a good idea to have another set of eyes...
September 4, 2009 at 7:25 am
Viewing 5 posts - 1 through 6 (of 6 total)