Viewing 15 posts - 1,081 through 1,095 (of 5,843 total)
Smendle (5/12/2016)
Taken from https://msdn.microsoft.com/en-us/library/ff877884.aspx
An availability group supports a failover environment for a discrete set of user databases, known as availability databases,...
May 12, 2016 at 12:49 pm
Alan.B: You have escaped the primary performance problem of chewing through unnecessary rows of each month on the date dim table with the filtered index. Well done. That was a...
May 11, 2016 at 10:08 pm
APA0876 (5/11/2016)
We currently have a SQL Server Failover Cluster and they want implement Always On availability group. But getting rid of the SQL Server Failover Cluster. I'm aware that...
May 11, 2016 at 9:45 pm
Drew.Allen: if you want to better test server performance on a given query that does lots of rows SELECT, just put the column(s) into variable(s). Voila - no more timing...
May 11, 2016 at 5:06 pm
Bill Talada (5/11/2016)
Sure, the TOP clause accepts a parameter, just in case someone wants to make this a table valued function for returning 3, 12, or 300 dates. BTW, I...
May 11, 2016 at 5:03 pm
There is no join criteria there
you need 3 queries as I mentioned
you need to handle nulls if either field you are comparing is nullable
May 11, 2016 at 4:56 pm
Alan.B: a calendar table is a poor match here, and would perform significantly worse as well. What if it didn't have the proper date range available? What if it DID...
May 11, 2016 at 2:10 pm
Standard queries will suffice here. Join the two columns on key field and add a where a <> a or b <> b or c <> c. Do make sure...
May 11, 2016 at 2:05 pm
Eric M Russell (5/11/2016)
drew.allen (5/11/2016)
Eric M Russell (5/11/2016)
May 11, 2016 at 12:51 pm
Was this slowness repeatable and consistent? Was the database under load and/or did you NOLOCK your SELECT?
May 11, 2016 at 8:07 am
DuncEduardo (5/11/2016)
Tally Table seemed unnecessarily complex - am sure there's something simpler
The most efficient methods I know of require a sequence from 1-12. You can call it dog if you...
May 11, 2016 at 8:05 am
etl2016 (5/11/2016)
Sorry, missed one bit. I am willing to go for dual-monitor (27inch, 23 inch). From this context as well, do I or do I NOT need Graphics card...
May 11, 2016 at 6:53 am
Save your money. You don't need a spiffy graphics card. It will be fine to give up a bit for your mother-board-integrated video. What WILL matter is IO performance, so...
May 11, 2016 at 6:26 am
look up itzik ben-gan gaps and islands tsql and you should find some amazing solutions to this problem. You need to get the contiguous range of dates for each grouping...
May 11, 2016 at 6:25 am
This sure would be more efficient to do from the application (or a stored procedure) ...
May 10, 2016 at 1:02 pm
Viewing 15 posts - 1,081 through 1,095 (of 5,843 total)