Viewing 15 posts - 4,636 through 4,650 (of 18,926 total)
Personally I would simply have switched to simple mode, checkpoint, truncate the log (which should free considerable space).
Then back to full to have pit recovery. That way you don't...
July 20, 2011 at 3:13 pm
sturner (7/20/2011)
Here is a trick I use to turn all multiple spaces (2 or more..) into one space. Its handy for...
July 20, 2011 at 3:11 pm
mtillman-921105 (7/20/2011)
Ninja's_RGR'us (7/20/2011)
mtillman-921105 (7/20/2011)
Ninja's, what's the benefit of the WHILE there? I would have skipped that, but I'm probably missing something.
This will replace all double spaces with a single...
July 20, 2011 at 3:05 pm
I'll take a guess..
SELECT SUM(CASE WHEN Status = 'Sold' THEN QtySold + Qty ELSE 0 END) As Sold,
SUM(CASE WHEN Status = 'Available' THEN QtyAvailable + Qty ELSE 0 END) As...
July 20, 2011 at 3:03 pm
allamiro (7/20/2011)
However when you said the default is a so does that mean I will have 2 traces running ...
July 20, 2011 at 3:01 pm
AndrewSQLDBA (7/20/2011)
I just noticed that the sample data that I posted had all the consecutive blanks removed. So my sample did not look correct.LOL
Andrew SQLDBA
The joys of html!
Don't...
July 20, 2011 at 2:59 pm
mtillman-921105 (7/20/2011)
Ninja's, what's the benefit of the WHILE there? I would have skipped that, but I'm probably missing something.
This will replace all double spaces with a single space. ...
July 20, 2011 at 2:58 pm
SELECT (ABS(CHECKSUM(NEWID())) % 100000 /* 0 to 99999 */) / 100000.0 FROM sys.tables
July 20, 2011 at 2:52 pm
I don't have a solid fast solution, but this would get the job done, however un-performant like.
Select 'start'
while @@rowcount <> 0
begin
update table set column =...
July 20, 2011 at 2:50 pm
sjimmo (7/20/2011)
Ninja,
Do I have a tendency to post untested code?
As I said earlier I'm not perfect, but I think I have a good track record there
I don't think I...
July 20, 2011 at 2:48 pm
ZZartin (7/20/2011)
Do you happen to have a back up you can recover and see if that will work well enough if they don't want to give you more details?
She stated...
July 20, 2011 at 2:44 pm
halifaxdal (7/20/2011)
July 20, 2011 at 2:38 pm
halifaxdal (7/20/2011)
Ninja's_RGR'us (7/20/2011)
halifaxdal (7/20/2011)
Ninja's_RGR'us (7/20/2011)
Can't be?!?!?How big is the DB? How much data was there in it before the accident happened?
not big at all AFAIK
I don;t know how much...
July 20, 2011 at 2:25 pm
cfradenburg (7/20/2011)
Ninja's_RGR'us (7/20/2011)
:w00t: thanx for the chuckle!
I think I've found your master plan. Keep our points low by putting a tricky question up while increasing your own by replying...
July 20, 2011 at 2:23 pm
halifaxdal (7/20/2011)
Ninja's_RGR'us (7/20/2011)
Can't be?!?!?How big is the DB? How much data was there in it before the accident happened?
not big at all AFAIK
I don;t know how much data stored...
July 20, 2011 at 2:11 pm
Viewing 15 posts - 4,636 through 4,650 (of 18,926 total)