Viewing 15 posts - 241 through 255 (of 287 total)
Ok.. how do you get SQL to execute the statment I have built... the statement it is printing is correct, and runs if you copy and paste.. but this code...
July 30, 2012 at 8:41 am
Hmm that is even simplier than I thought it might be.... thanks.
July 30, 2012 at 8:36 am
Yep, that did the trick... she is now 6mb! Wahoo. Thanks for the help.
July 25, 2012 at 6:59 am
prettsons (7/25/2012)
Take a look at...
July 25, 2012 at 6:52 am
The problem is that the following is not shrinking the log file... it does complete without errors.
USE [model]
GO
DBCC SHRINKFILE (N'modellog' , 0, TRUNCATEONLY)
GO
It returns the following:
32560065664560065664
July 24, 2012 at 12:52 pm
Lynn Pettis (7/24/2012)
Before you do anything more, please run the following and post the results:select name, log_reuse_wait_desc from sys.databases where name = 'model';
here is the result
Name ----- log_reuse_wait_desc
=======================
model----- NOTHING
July 24, 2012 at 12:31 pm
Luis Cazares (7/17/2012)
dwilliscp (7/17/2012)
Different server than where the stored Proc is running.Taken from BOL http://msdn.microsoft.com/en-us/library/ms188029.aspx
"You cannot create new_table on a remote server..."
Interesting.. just tried to create a table on R2D2's...
July 17, 2012 at 11:53 am
I have data being loaded from two different companies... so the first time I use INSERT and the second I use INSERT INTO.... the first gives the error I posted...
July 17, 2012 at 11:48 am
Different server than where the stored Proc is running.
July 17, 2012 at 10:56 am
Ok.. I thought maybe I was missing something simple, sorry.
here is the error message..
Msg 117, Level 15, State 1, Line 3
The object name 'R2D2.this.that.dbo.ztb_test' contains more than the maximum number...
July 17, 2012 at 9:43 am
dwilliscp (7/16/2012)
insert [this.that].dbo.table_name
insert...
July 16, 2012 at 1:13 pm
:w00t: :: David slaps his head:: Thanks for your help.
July 13, 2012 at 9:07 am
Thanks folks.. I did do a search, but I was looking at SQL commands... for some reason never thought to search the way you suggested, thanks Lynn. 🙂
July 3, 2012 at 10:01 am
I headed out for vacation last week, only to end up with no power... after the big storm moved through the Smokey Mountains Friday... so I am back early 🙁
July 2, 2012 at 8:53 am
.... No loops! No CURSORs! No RBAR! Hoo-uh! ...
Great!
Thanks rhythmk and dwain.c for your help...
The IF statement would have 5 nested IF's... and then the else.. I know it is...
July 2, 2012 at 8:50 am
Viewing 15 posts - 241 through 255 (of 287 total)