Viewing 15 posts - 11,026 through 11,040 (of 15,381 total)
morepainot (8/8/2012)
Sean Lange (8/8/2012)
August 8, 2012 at 3:51 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
Because you already a print command in your code. In the snippet I provided I replace the exec with print because executing your dynamic code is what was causing the...
August 8, 2012 at 3:38 pm
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:22 pm
morepainot (8/8/2012)
Sean Lange (8/8/2012)
morepainot (8/8/2012)
August 8, 2012 at 3:07 pm
morepainot (8/8/2012)
August 8, 2012 at 2:56 pm
thall 8753 (8/8/2012)
Also,I was using Firefox 14.01 while trying to post a code block...
Using IE 8 seems to work just fine.
Select * from test
There seems to be no real rhyme...
August 8, 2012 at 2:55 pm
thall 8753 (8/8/2012)
First, I would like to thank you for taking the time to answer my post.
I have attached expected output in an excel spreadsheet. In the expected tab, I...
August 8, 2012 at 2:54 pm
morepainot (8/8/2012)
Oh man...I meant to add in my error message :doze:Incorrect syntax near '('
No offense but that doesn't exactly help. Try adding a print command before you execute your dynamic...
August 8, 2012 at 2:33 pm
joshphillips7145 (8/8/2012)
The event that should cause it to rollback would be finding a duplicate entry right?
Have you used the debug code I posted several posts ago and keep asking if...
August 8, 2012 at 2:32 pm
morepainot (8/8/2012)
BEGIN
SET @nSQL = '
IF NOT EXISTS (SELECT * FROM '+ @SourceDatabaseName + ' .INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = ''dbo'' AND
TABLE_NAME...
August 8, 2012 at 2:29 pm
I would suggest a single script with a go between each batch. It is far less prone to error than using a whole bunch of files and trying to remember...
August 8, 2012 at 2:09 pm
You're welcome. The problem is you can't use variables in object names like you were doing. Glad that worked for you.
August 8, 2012 at 1:37 pm
Lynn Pettis (8/8/2012)
August 8, 2012 at 1:36 pm
joshphillips7145 (8/8/2012)
August 8, 2012 at 1:34 pm
Viewing 15 posts - 11,026 through 11,040 (of 15,381 total)