Viewing 15 posts - 1 through 15 (of 65 total)
I like this question. If you include XML COLUMN_SET FOR ALL_SPARSE_COLUMNS
This will not include the actual columns that have SPARSE as the type definition it seems.
But if you...
September 11, 2018 at 10:19 pm
Kendra great editorial,
This one will trigger many comments and already has. As a new father of a 9-month-old, I think going to college will be less important...
September 8, 2018 at 3:02 pm
I was not sure if SQL would give just first index it found or not. But kind of cool it did display the additional index I added with CustomerName.
July 26, 2018 at 8:24 pm
The query/sp you are having performance issues with, is it trying to select specific rows? Is there over 15-20% fragmentation on the CS index when these performance issues occur? ...
December 13, 2017 at 6:17 pm
Another alternative is to import the files into a stage table with 1 column. Then SUBSTRING the column to get all the columns above.
November 9, 2017 at 4:23 pm
No I have not but I am sure the DBA's have. Worth following up though.
This solved the problem.
CREATE TABLE #EmploymentTestData
(
QuarterEndDate DATETIME...
October 26, 2017 at 6:01 pm
Yes we will gradually get there. Have tons of code that uses NOLOCK as most companies probably do.
But in the case above even using Read Committed Isolation results...
October 26, 2017 at 5:47 pm
A few of my team members looked at this and found the issue to be fixed in a later service pack.
The solution for now is to either create Clustered...
October 26, 2017 at 2:09 pm
We have SQL 2016 and using column store indexes. You are spot on with seeks. We found that if a stored proc only wants a small range of values,...
December 30, 2016 at 8:56 am
I love this thread. Just reading all the advice from experts is awesome. I am no expert but will add my 2 cents.
My company is moving to a...
August 26, 2016 at 9:21 pm
Thank you all!
Love the EXP of the Log solution John. I do need to brush up on my math:)
The Query update works too, actually this one I attempted but...
August 5, 2016 at 8:46 am
delete from fct_iie_test_Ps_report_NEW
Why not truncate table? Less logging maybe that would be some help.
Permission issue maybe with the account? Truncate does require DDL admin perms.
July 22, 2016 at 9:18 pm
I was thinking this would fail because of Datetime to Int conversion error.
Replaced the last section of the code.
DROP TABLE abc;
GO
CREATE TABLE abc ( d datetime, c int);
GO
INSERT abc
...
October 29, 2015 at 10:02 am
Hi Jeff,
A little background. The application we developed allows a user to search properties in the U.S. The user can select any area and click "view results".
Behind the...
October 9, 2015 at 1:45 pm
The code in Profile is auto generated. All we are doing is calling the stored proc with the Table Type populated.
Maybe there is a more efficient way...
October 9, 2015 at 1:07 pm
Viewing 15 posts - 1 through 15 (of 65 total)