Viewing 15 posts - 3,481 through 3,495 (of 5,394 total)
When tempdb runs out of disk space, you have to discover what filled the disk:
1) Tempdb itself. It could have been filled by temporary tables or internal objects.
2) Some other...
February 7, 2011 at 6:35 am
The compiler doesn't like the doubel parenthesis around your @sql string:
DECLARE @CID BIGINT,@SQL NVARCHAR(2000),@Val CHAR(8),@ID INT,@SQL1 NVARCHAR(800),@C INT,
@Column_Val_R VARCHAR(200)
SET @CID = 123
SET @C = 2
SET @ID = 2
SET @sql =...
February 7, 2011 at 2:17 am
Glad I could help.
Thanks for the fun in coding it. 🙂
February 4, 2011 at 6:38 am
You're welcome.
Glad I could help.
February 4, 2011 at 3:08 am
Usually, when the optimizer decides to pick a parallel plan it's because it could not find something "smarter" to do.
Operators that fit well in a parallel plan are hash joins,...
February 4, 2011 at 2:17 am
Your question was really interesting, so I coded another solution that works with a more efficient plan, using UNPIVOT:
;WITH Incident_Events AS (
-- Create an event sequence...
February 4, 2011 at 2:04 am
jamessdba (2/3/2011)
please update
Sure! Just don't be so impatient... We are all volunteers on these forums and we answer questions during our free time.
To set the collation during setup, you...
February 4, 2011 at 1:37 am
jamesmario (2/3/2011)
February 4, 2011 at 12:58 am
OK, I think I got it.
I hope this is not overcomplicating the initial problem...
;WITH Incident_Events (Project, Event_Time, Event_Type, SumAs)
AS (
-- Create an event sequence
...
February 3, 2011 at 10:32 am
DBA_Dom (2/3/2011)
February 3, 2011 at 10:11 am
When posting a question such as this one, you should provide:
1) A script to create a test table to hold sample data
2) A script to insert some sample data in...
February 3, 2011 at 4:11 am
Unfortunately there's no built-in "last updated" property for table data, you will have to calculate it from table data itself.
You could create a dynamic sql to check all the tables...
February 3, 2011 at 2:46 am
Yet another troll. If you don't feed them, they starve and disappear.
February 3, 2011 at 1:04 am
It could definiely be a different case, but this is the issue we were experiencing:
http://support.microsoft.com/kb/973667/en-us
I hope this helps in your scenario as well.
Gianluca
February 2, 2011 at 2:05 am
Viewing 15 posts - 3,481 through 3,495 (of 5,394 total)