Viewing 15 posts - 2,221 through 2,235 (of 2,647 total)
allan.madriaga (11/3/2011)
WHERE ... AND (TimeTracking.UserName = 'someguy')
But when I insert that where clause...
November 3, 2011 at 1:23 pm
allan.madriaga (11/3/2011)
Basically, what I have is an auxiliary table called Calendar which contains rows...
November 3, 2011 at 1:13 pm
EDIT:
You can't sum a NULL... That is your problem I think.
SELECT 1 + NULL
Returns NULL. You must do a case or an SUM(ISNULL(Timething.timecolumn,0))
Sorry... Losing it... Don't look...
November 3, 2011 at 1:04 pm
Ok, so I'll go back to looking at expensive queries, looking at waits, and possibly running a server-side traace if need be.
Jared
November 3, 2011 at 1:01 pm
Also, if you had 32gb of memory it would not seem so bad? I'm not sure that % to total is the way to look at this. My assumption is...
November 3, 2011 at 12:38 pm
I really don't find it that unusual, depending on the queries of course. tempdb can be accessed by all queries on all databases if needed, so of course it will...
November 3, 2011 at 12:36 pm
Again, I would look at recent expensive queries to try to track down the culprit. Have you looked at wait stats? Also, (not being an expert here) why are we...
November 3, 2011 at 12:22 pm
Stubby Bunny (11/3/2011)
ok tried with D drive and still same issue, I did login in from my client to the server witht he SA account and i was successful in...
November 3, 2011 at 12:15 pm
amrinea (11/3/2011)
Easier said than done. The majority of everything running on this database server are purchased products, not home grown that we could tweak if necessary.
Do you mean running "against"...
November 3, 2011 at 12:08 pm
Sean Lange (11/3/2011)
allan.madriaga (11/3/2011)
So here's a question: When I add an extra WHERE clause in my query, the result set excludes rows with NULLS. Why does that happen and...
November 3, 2011 at 11:58 am
Can't sum a NULL... SUM(ISNULL(columnName,0)) nevertheless I assume that TimeTracking.UserName = 'someguy' filter contains no nulls in that column.
Jared
November 3, 2011 at 11:47 am
The problem is that that shared drive disappears when you are no longer logged into the server. It has to be mapped to a drive letter and set up to...
November 3, 2011 at 11:04 am
Just so I have all of my ducks in a row: The file is local to the SQL Server, you are logging in using SSMS from your client machine, executing...
November 3, 2011 at 10:44 am
Are you executing a stored procedure for this or simply querying? Also, can you query other linked servers? Maybe it is your user's permissions. If you log...
November 3, 2011 at 10:30 am
Here:
-- Isolate top waits for server instance since last restart or statistics clear
WITH Waits AS
(SELECT wait_type, wait_time_ms / 1000. AS wait_time_s,
100. * wait_time_ms / SUM(wait_time_ms) OVER() AS pct,
ROW_NUMBER() OVER(ORDER BY...
November 3, 2011 at 10:23 am
Viewing 15 posts - 2,221 through 2,235 (of 2,647 total)