Viewing 15 posts - 18,601 through 18,615 (of 26,484 total)
Gift Peddie (10/27/2009)
I was working along today and ran into something interesting with SQL Server that I didn't know before. It's not obscure or only limited to specific environments or...
October 27, 2009 at 1:13 pm
Most of our databases servers are running SQL Server 2005. We have one server running SQL Server 2000 but are hoping to retire that application by moving it into...
October 27, 2009 at 12:58 pm
I'd say submit it. Don't worry about the flaming. You have already piqued my curiosity.
October 27, 2009 at 11:21 am
Your question is pretty open-ended. It would help us in helping you if you could provide more specifics regarding your problem. Please take the time to also read...
October 27, 2009 at 11:14 am
Mark Marinovic (10/5/2009)
Lynn Pettis (10/5/2009)
Just to clarify, I didn't say I didn't know how to write a restore script, just that using SSMS is faster than my typing.
Gotcha - and...
October 27, 2009 at 11:04 am
Bob Hovious 24601 (10/26/2009)
Yowch, really sorry to hear that, Barry. I will shift to you all the good vibes I can pour into the Force.
I'll second this as...
October 26, 2009 at 6:26 pm
Bob Hovious 24601 (10/26/2009)
October 26, 2009 at 4:55 pm
Bob Hovious 24601 (10/26/2009)
Lynn, with all that vacation I would have expected you to be more patient.Did you leave your halo at the beach? 😀
Nope, washed out...
October 26, 2009 at 4:10 pm
First, look up SET ROWCOUNT in BOL (Books Online, the SQL Server Help System), it will explain everything you need to know about SET ROWCOUNT that would want to know...
October 26, 2009 at 3:47 pm
Don't you just love people that only read half the error message?
October 26, 2009 at 2:36 pm
2Tall (10/26/2009)
CREATE ENDPOINT [Mirroring]
AUTHORIZATION [lab\sql]
STATE=STARTED
AS TCP (LISTENER_PORT = 5034, LISTENER_IP = (x.x.x.1))
FOR DATA_MIRRORING (ROLE = PARTNER,...
October 26, 2009 at 1:56 pm
LOOKUP_BI-756009 (10/26/2009)
Matt : Yes I knew that I had to include 'Use databasename , go , and then the Select statment but was not too sure how to do...
October 26, 2009 at 1:51 pm
I would write the code more like this:
DECLARE @RowsUpdated int;
SET ROWCOUNT 4000000;
WHILE 1 = 1
BEGIN
UPDATE t1
SET Qty = t2.Qty
...
October 26, 2009 at 1:48 pm
Krasavita (10/26/2009)
WHILE 1 = 1
BEGIN
UPDATE t1
SET Qty = t2.Qty
FROM dbo.Table1 t1
INNER JOIN dbo.Table2 t2 ON t1.KU = t2.KU
WHERE t1.Qty IS NULL;
IF @@ROWCOUNT < 4000000 BREAK;
END;
Why are you...
October 26, 2009 at 1:44 pm
Slight change to my original code, might be nice to know if the growth is a precentage or not.
select
db.name as DBName,
mf.name as...
October 26, 2009 at 1:07 pm
Viewing 15 posts - 18,601 through 18,615 (of 26,484 total)