Viewing 15 posts - 3,481 through 3,495 (of 18,926 total)
When it ballons again run this query and post the results (or do your research, you'll find that info quite easily).
SELECT log_reuse_wait_desc FROM sys.databases where name = 'tempdb'
the bottom line...
August 9, 2011 at 3:18 pm
DECLARE @d DECIMAL(10,10)
SET @d = 1.0
--fails
DECLARE @d DECIMAL(20,10)
SET @d = 1.0
--works fine!
This is for sql 2005 but it's still relevant to sql 2000.
August 9, 2011 at 3:14 pm
Waiting on checkpoint??
Are you talking about log_reuse_wait? Which would be a little moot in simple recovery.
Or task waits, where your copy of the activity monitor script could come in...
August 9, 2011 at 3:12 pm
Somethings along those ling could do it too... just to have 2 options.
SELECT
T.name,
STUFF((
SELECT
...
August 9, 2011 at 3:06 pm
Don't use XML.
I'm not the expert in that domain but a simple csv file with bulk insert usually flies the data in. Everytime I,ve been near xml it's always...
August 9, 2011 at 2:59 pm
Jeffrey Williams-493691 (8/9/2011)
GilaMonster (8/9/2011)
Insert in batches or use an insert method that can be minimally logged (and drop any nonclustered indexes before you start)
Don't drop the nonclustered indexes - disable...
August 9, 2011 at 2:54 pm
Oh for God's sake => http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx
Couldn't find the same layout for 2008 but => http://recruitmentexchange.com/download/SQL2008_editions_features.pdf
Here, now you can all move on! 😀
August 9, 2011 at 2:31 pm
Ninja's_RGR'us (8/9/2011)
Weird!
My link still works. I strongly recommend you at least look at the code samples.
August 9, 2011 at 2:24 pm
Sean Lange (8/9/2011)
August 9, 2011 at 2:15 pm
Ok, then check if the join logic is correct. Distinct / group by <usually> should not be required for this if the table design is correct. It might...
August 9, 2011 at 2:06 pm
SELECT * FROM
(
SELECT id, WorkerID, LaborRateID ROW_NUMBER() OVER(PARTITION BY WorkerID ORDER BY id DESC) AS rn FROM ...
) dta
WHERE rn = 1
There might be a way to do it...
August 9, 2011 at 2:03 pm
Best book around for that... and free => http://www.sqlservercentral.com/articles/books/65831/
August 9, 2011 at 2:01 pm
Jayanth_Kurup (8/9/2011)
However MSDN state the following
NO_LOG | TRUNCATE_ONLY
Removes the inactive...
August 9, 2011 at 1:58 pm
<Almost> no change. Bottom line is that every single estimate is wrong, at every level.
Let's try to clean this mess up.
Take the first query. Start using joins, remove...
August 9, 2011 at 1:51 pm
@SQLFRNDZ (8/9/2011)
Oh Okey , i'm sorry then
Don't be.
I'm just explaining the hidden reason behind our lack of answers on a very simple question. If you really want...
August 9, 2011 at 1:46 pm
Viewing 15 posts - 3,481 through 3,495 (of 18,926 total)