Viewing 15 posts - 8,971 through 8,985 (of 19,562 total)
Roy Ernest (8/18/2011)
Thread needs only 865 posts to hit 30K and I need 80 posts to hit 3K. Who will reach first,...
August 18, 2011 at 2:59 pm
Then I would start looking at what caused that much growth and that much log space to be consumed.
Here is an article to help with that.
http://www.sqlservercentral.com/articles/Log+growth/69476/
In the meantime, I would...
August 18, 2011 at 2:59 pm
Sean Lange (8/18/2011)
Cool idea. Will have to add to my snippets.
Thanks - it actually made me think of an article to write
August 18, 2011 at 2:33 pm
FYI - we need only 866 posts to reach 30K
August 18, 2011 at 2:31 pm
Make sure the file is empty (move contents to another file) and then drop the extra files.
August 18, 2011 at 2:28 pm
Roy Ernest (8/18/2011)
When you have regular transaction log back up the chances of file growing out of proportion is very low. I guess that is why he asked.
Precisely.
What is...
August 18, 2011 at 2:21 pm
This should do it for you.
Declare @ColorType INT = 3
Select cp1.*
From ColorPlate cp1
CROSS APPLY ColorPlate cp2
CROSS APPLY ColorPlate cp3
Where cp1.colortype & cp2.colortype & cp3.colortype & @ColorType <> 0
Order...
August 18, 2011 at 2:19 pm
Yes, it grew by that amount.
Is this database in Full recovery? Are you backing up the transaction log?
August 18, 2011 at 1:44 pm
If either query produces a null, the division or multiplication of those fields will result in NULL.
Do either of the subqueries yield a null when you run them individually?
August 18, 2011 at 1:40 pm
This might be overkill, but it should get you everything you need.
August 18, 2011 at 1:33 pm
I could see that improving perf too. I would be careful in implementation and data change though.
August 18, 2011 at 1:07 pm
Viewing 15 posts - 8,971 through 8,985 (of 19,562 total)