Viewing 15 posts - 2,326 through 2,340 (of 8,731 total)
To use the formula, just change the variable with your "seconds" value. My guess is that you need to replace @Duration_Sec with sum([TalkTime]+[HoldTime]+[PostCallProcessingTime])/sum([CallsAnswered]).
August 10, 2016 at 6:51 am
For a simple count of the tables, you can use something like this:
SELECT t.name AS Table_Name, SUM(row_count) AS Row_Count
FROM sys.dm_db_partition_stats s
JOIN sys.tables t ON s.object_id = t.object_id
WHERE index_id IN (0,1)--heap...
August 10, 2016 at 6:45 am
curious_sqldba (8/9/2016)
Lynn Pettis (8/9/2016)
curious_sqldba (8/9/2016)
Current SubscriptionsNotification
Home » SQL Server 2008 » SQL Server 2008 Performance Tuning
Instant
Home » SQL Server 2014 » Administration - SQL Server...
August 9, 2016 at 2:24 pm
AFAIK, errors with severity 10 or lower can't be captured as they're basically warnings.
August 9, 2016 at 1:03 pm
The Dixie Flatline (8/9/2016)
Use of a variable in a query keeps it from running in parallel?
No, the use of a scalar function in the query.
August 9, 2016 at 12:14 pm
It's not about one join being better than the other. It's about using the correct join for each query.
Here's an explanation on how each join works.
http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins
August 9, 2016 at 12:08 pm
The Dixie Flatline (8/9/2016)
I would look at rewriting the scalar function dbo.calcperiod to a itvf (in-line table valued function) and modify the second option to use it instead of the...
August 9, 2016 at 11:58 am
Is this query:
select dbo.calcperiod(value) from sys_registry where system_code = 'gbl' and name = 'reportdate'
related any way to the outer query?
Will it return a single row? If so, why don't...
August 9, 2016 at 9:56 am
wendy elizabeth (8/9/2016)
I tried this and this does not help.
What's this?
August 9, 2016 at 9:14 am
Are you subscribed to the forum? Is the spam coming from spam threads created in the forum and then deleted?
August 9, 2016 at 9:09 am
ChrisM@Work (8/9/2016)
Luis Cazares (8/9/2016)
Even if with this amount of rows it might make no difference, avoid using recursive CTEs tocountgenerate rows...
...because they're way too expensive for such a...
August 9, 2016 at 8:41 am
Even if with this amount of rows it might make no difference, avoid using recursive CTEs to count. Here's another version which might seem too wordy, but it will be...
August 9, 2016 at 8:05 am
Anandkumar-SQL_Developer (8/8/2016)
...
August 9, 2016 at 7:32 am
Did you try increasing the max token size as suggested in here:https://msdn.microsoft.com/en-us/library/cc645913.aspx?
August 9, 2016 at 7:25 am
Viewing 15 posts - 2,326 through 2,340 (of 8,731 total)