Viewing 15 posts - 61 through 75 (of 338 total)
Grant Fritchey (3/22/2016)
Be very cautious here. A trace capturing execution plans is extremely costly on the server. If it's already under stress, this may not help at all.
Yes completely agree.
Just...
March 22, 2016 at 6:59 am
Have you manually set the processor affinity or is it set to Automatic ?
March 21, 2016 at 10:00 pm
Do you require changes replicated between different subscribers ?
March 21, 2016 at 9:51 pm
It sounds that there are to many plans in your plan cache memory.10% of buffer pool memory from 4gb-64gb + 5%>64gb is allocated to plan cache.
Can you post the output...
March 21, 2016 at 9:41 pm
In our SQL environment my observation always had been that TVP outperformed all the custom TSQL splitter functions and CLR methods.In some instances the TVP performance was on par with...
March 21, 2016 at 8:58 pm
Also maybe this:
SELECT Datepart(yyyy, d.date) AS "Year",
Count(*) ...
March 21, 2016 at 8:56 pm
Only scope of improvement I can see in the given state is to add an NC index on #OrderDetailsHistory for columns(TSID DESC,ActionCode,OrderID).
CREATE INDEX NCI_OrderDetailsHistory
ON #OrderDetailsHistory(TSID DESC,ActionCode,OrderID)
The APPLY clause...
March 21, 2016 at 12:30 am
Yes I think you will have to run DBCC CHECKTABLE incase DBCC CHECKDB does not return any error.To run DBCC CHECKTABLE first identify all the possible tables that have LOB...
February 1, 2016 at 11:34 pm
This ?
DECLARE @str VARCHAR(40)='ek/df/cv/'
DECLARE @strreverse VARCHAR(40)=Reverse(@str)
SELECT Substring(@strreverse, 1, Charindex('/', @strreverse) - 1)
July 10, 2014 at 12:41 am
Is the column size for Clientname VARCHAR(64) enough ?
July 8, 2014 at 8:40 am
Out of curiosity wondering how does this perform ?
SELECT v.parcel,v.value
FROM @m M
JOIN @v-2 v
on v.Parcel = m.Parcel
group...
July 6, 2014 at 12:24 am
Using SQL Server 2012 function in use
select * from
(
select
*,CUME_DIST () OVER (PARTITION BY marker ORDER BY val)-
RANK() OVER (PARTITION...
July 4, 2014 at 10:40 am
One way would be to create a UDF to check the values and use that as constraint for the table.
July 3, 2014 at 12:01 am
Make sure the Business Layer is ready.Never go for table design unless your business layer is not ready.That's my personal opinion.
July 2, 2014 at 8:14 am
You will have to rollback the transaction in the CATCH block.
July 2, 2014 at 8:06 am
Viewing 15 posts - 61 through 75 (of 338 total)