Viewing 15 posts - 661 through 675 (of 5,843 total)
After removing TDE did you ensure that the decryption process was complete before you restarted the box? What was the size of the actual data in the transaction log at...
November 4, 2016 at 10:30 am
Well done Drew. Especially nice given the added flexibility. 2 very minor improvements:
WITH Tally(n) AS (
--more efficient "small" tally table 🙂
SELECT n
FROM ( VALUES(1), (2), (3), (4), (5), (6), (7),...
November 4, 2016 at 9:42 am
Chuck S (11/4/2016)
HelloWhat is the Kgb.Numbers table?
A Numbers table of course! 😛
1-n with clustered index on that column. Gets you the same thing as the virtual one using the...
November 4, 2016 at 9:12 am
Here's a solution using a table of numbers (you can create your own or use a virtual one) and my favorite TSQL word CASE. 🙂 Coffee hasn't kicked in and...
November 4, 2016 at 8:51 am
abbogus (11/3/2016)
Yes, there is data present for my job to read. 400+ records existed for each day.
Right now, my COGNOS guy is checking event logs to see if something was...
November 3, 2016 at 2:32 pm
hegdesuchi (11/3/2016)
table 1
Id name company
1 aaa yyy
1 aaa bbb
table 2
Id ...
November 3, 2016 at 1:51 pm
Just curious (and this is a serious question - not being a smart @ss here): what in all that stuff you told us, which was a LOT, gives us any...
November 3, 2016 at 1:47 pm
Timmorehead 14652 (11/2/2016)
November 3, 2016 at 9:03 am
GilaMonster (11/2/2016)
Alan.B (11/2/2016)
Does this index get badly fragmented? That's sometimes a reason that the optimizer wont pick it.
The optimiser knows nothing about fragmentation of indexes, the index's layout or...
November 3, 2016 at 8:55 am
You should have compared the original poor queries Estimated Rows with the Actual Rows at various points in the plan. I am guessing you had a 3+ order of magnitude...
November 2, 2016 at 3:45 pm
Hope your Capacity value never comes in as 0! :hehe:
November 2, 2016 at 10:25 am
BOR15K (11/1/2016)
TheSQLGuru (11/1/2016)
BOR15K (11/1/2016)
Luis Cazares (11/1/2016)
If you have 9 million rows, int can handle them perfectly. Unless you have a random sequence
Sadly you're right - every new customer starts from...
November 1, 2016 at 7:06 pm
BOR15K (11/1/2016)
Luis Cazares (11/1/2016)
If you have 9 million rows, int can handle them perfectly. Unless you have a random sequence
Sadly you're right - every new customer starts from 2 to...
November 1, 2016 at 10:58 am
1) Please post up table defs, sample data (in the form of INSERTS) and expected results to clarify your logic and help us write queries to solve.
2) Your names make...
November 1, 2016 at 10:51 am
In 20+ years of consulting on the SQL Server relational engine at all kinds of scale I can count on one hand the number of times it was REALLY OPTIMAL...
November 1, 2016 at 8:58 am
Viewing 15 posts - 661 through 675 (of 5,843 total)