Viewing 15 posts - 1 through 15 (of 56 total)
I had my code review...it didnt go so well. The revisions I need to make are;
If StandardColumns has no list of columns for a table, then all the source columns...
August 10, 2012 at 7:41 am
morepainot (8/8/2012)
Lynn Pettis (8/8/2012)
Regarding the space, it may really come down to...
August 9, 2012 at 7:14 am
Jeff Moden (8/8/2012)
morepainot (8/8/2012)
I showed one of the senior guys the code and they said the same thing you said.
??? :blink:I thought you said you didn't have anyone who could...
August 8, 2012 at 8:27 pm
Lynn Pettis (8/8/2012)
Regarding the space, it may really come down to being...
August 8, 2012 at 7:37 pm
Lynn Pettis (8/8/2012)
DECLARE @SourceDatabaseName NVARCHAR(128) = 'MyDatabase';
DECLARE @nSQL NVARCHAR(MAX);
BEGIN
SET @nSQL = '
IF NOT EXISTS (SELECT *...
August 8, 2012 at 7:20 pm
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
August 8, 2012 at 4:24 pm
Lynn Pettis (8/8/2012)
Can you post the code, and the exact error message you are getting?
BEGIN
SET @nSQL= '
IF NOT EXISTS ( SELECT * FROM '+ @SourceDatabaseName + ' .INFORMATION_SCHEMA.COLUMNS ...
August 8, 2012 at 4:07 pm
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
August 8, 2012 at 3:57 pm
Sean Lange (8/8/2012)
August 8, 2012 at 3:49 pm
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
August 8, 2012 at 3:47 pm
Lynn Pettis (8/8/2012)
August 8, 2012 at 3:43 pm
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
August 8, 2012 at 3:42 pm
Sean Lange (8/8/2012)
August 8, 2012 at 3:42 pm
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
August 8, 2012 at 3:37 pm
Lynn Pettis (8/8/2012)
Do you feel comfortable enough with the code you have to describe...
August 8, 2012 at 3:35 pm
Viewing 15 posts - 1 through 15 (of 56 total)