Viewing 15 posts - 2,641 through 2,655 (of 8,761 total)
Robin35 (11/22/2016)
We have migrated SQL standard edition from 2008R2 to SQL 2014. After the migration we are seeing huge amount of blocking and overall SQL instance is very slow.
Major wait...
November 22, 2016 at 10:41 am
They always come in threes don't they, we have rodiots (road idiots), phoniots (idiots with phones) and now planiots (execution plan idiots)
😎
November 22, 2016 at 10:32 am
polytropic2310 (11/22/2016)
Eirikur Eiriksson (11/22/2016)
November 22, 2016 at 10:28 am
adonetok (11/22/2016)
How to generate SQL statement from there to create...
November 22, 2016 at 9:40 am
The difference is in the cardinality, UAT has less than 1000 rows where PROD has 1.3 million rows, obviously there will be a big difference in the logical (and probably...
November 22, 2016 at 9:20 am
andis59 (11/21/2016)
BTW, does the size of the database table has any impact on the Tuning Advisor and the time it takes to finish?
Quick advice, very carefully assess the output of...
November 22, 2016 at 9:11 am
Thom A (11/21/2016)
If you're not allowed to export tables contents to a CSV, why are you trying if it's against company...
November 21, 2016 at 10:15 am
Quick suggestion, add the column names to the CTE
😎
SELECT BUSINESS_NAME,CONTRACT_CATEGORY,[RX],[PRODUCT]
FROM (
SELECT
BUSINESS_NAME ,
CONTRACT_CATEGORY ,
VALUE,
NAME
FROM PRODUCT_CAT)UP (BUSINESS_NAME,CONTRACT_CATEGORY,[RX],[PRODUCT])
pivot (SUM(VALUE) FOR NAME IN (['RX'],['PRODUCT']))AS S
November 21, 2016 at 9:47 am
Ed Wagner (11/21/2016)
Jeff Moden (11/21/2016)
Yeah... relax... and put this blindfold on. It won't hurt.
Isn't that what they say when they put someone in front of a firing...
November 21, 2016 at 9:43 am
andis59 (11/21/2016)
The MAX(rowCreatedDT) is only scanning the table once!
No, this is incorrect, the code will result in three separate scans, using the variable will only do one scan.
😎
Contrary to what...
November 21, 2016 at 9:37 am
Steve Jones - SSC Editor (11/21/2016)
WRT the PoSh instead of the Command Prompt, I'm not sure there's a big issue here. Most everything...
November 21, 2016 at 9:06 am
dwilliscp (11/21/2016)
If you run a query.... databasename.dbo.tablename how do I end up with a wait type of "(18ms)ASYNC_NETWORK_IO"?
Either the spid is waiting for the client to consume the data or...
November 21, 2016 at 8:58 am
Budd (11/21/2016)
Eirikur Eiriksson (11/20/2016)
Budd (11/18/2016)
WOW!!!So very many possibilities, and so much to consider..
Quick questions, can you use Table Variable Parameter? How wide are the largest values passed? How many values...
November 21, 2016 at 8:55 am
marc.corbeel (11/21/2016)
When I run the SP from within the Studio Manager it takes less than a second...
November 21, 2016 at 8:07 am
Viewing 15 posts - 2,641 through 2,655 (of 8,761 total)