Viewing 15 posts - 1,306 through 1,320 (of 5,841 total)
I had a client GO OUT OF BUSINESS because all of their triggers were built with the variable problem. And I TOLD them it was going to happen before it...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 10, 2016 at 5:24 pm
join the date-range table to itself and have a WHERE clause that checks for a.start >= b.start and a.end between b.start and b.end. Or something similar to that. Play with...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 10, 2016 at 10:19 am
My first guess is that the original plan was "good enough" in that it ran consistently at 50 seconds. But when you altered things you got a new plan and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 10, 2016 at 9:44 am
patla4u (2/10/2016)
I have total 460 million row in the table. I am running query for year 2016 and month = 7 and we have total 8 millions records. query...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 10, 2016 at 7:23 am
ffarouqi (2/9/2016)
TheSQLGuru (2/8/2016)
When you get the chance, here's some great material for you to review:http://www.sommarskog.se/query-plan-mysteries.html
Come on brother!. At least now I am expecting a better answer after posting so many...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 9, 2016 at 12:50 pm
LSAdvantage (2/8/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 8, 2016 at 5:33 pm
When you get the chance, here's some great material for you to review:
http://www.sommarskog.se/query-plan-mysteries.html
http://www.sommarskog.se/dynamic_sql.html
http://www.sommarskog.se/dyn-search.html
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 8, 2016 at 3:35 pm
some may or may not be documented. I would do a web search on paul randal sql server spinlock and go from there.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 8, 2016 at 9:50 am
SQL!$@w$0ME (2/8/2016)
Is it a good practice to change the default fill factor value on Instance level?
Should the Primary key field (IDENTITY KEY) set to fill factor value of 100?
Any...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 8, 2016 at 9:48 am
I am traveling and cannot take the risk of installing the SSMS Addin at the moment.
OP:
I would still like to see a screenshot and text version of what you expected...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 5, 2016 at 12:41 pm
I am not sure exactly what SSMS Add-In you are speaking of. Can you give the exact full name and/or company/developer and/or a URL for it? Maybe a screenshot that...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 5, 2016 at 12:13 am
You can read the top posts when you search for that string of words I gave you. You are doing one of the two usual ways of doing this, and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 3, 2016 at 4:28 am
This is a CLASSIC data processing problem known as an UPSERT. There are a BUNCH of issues with it related to concurrency. Almost every client I have seen this type...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
February 2, 2016 at 4:33 pm
Could be one of many hundreds of waits caused by even more things and in any permutation.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 31, 2016 at 7:21 am
GilaMonster (1/30/2016)
Kinda makes sense. You may gather that I barely use MERGE. I think the last time I wrote one was when I was teaching a class on T-SQL commands.
Numerous...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 30, 2016 at 10:42 am
Viewing 15 posts - 1,306 through 1,320 (of 5,841 total)