Viewing 15 posts - 31 through 45 (of 1,170 total)
Any assistance would be much appreciated!
We just upgraded to SQL Server 2014 but when...
Igor Micev
January 30, 2017 at 12:58 pm
You can restore the mssqlsystemresource database and see the INFORMATION_SCHEMA views definitions.
USE [master]
GO
CREATE DATABASE [mssqlsystemresource_copy] ON
(FILENAME = N'C:\SqlData\mssqlsystemresource.mdf' )
FOR ATTACH_rebuild_log
Then you...
Igor Micev
January 17, 2017 at 1:07 pm
Igor Micev
January 17, 2017 at 1:05 pm
declare
@UpdateDate VARCHAR(21) ,
-- date...
Igor Micev
January 15, 2017 at 8:13 am
Excellent. Thanks.
Sometimes you need to use the function in a query, so that it needs to return INT instead of a set. Igor Micev
This is a little amendment.
January 15, 2017 at 7:50 am
sam 55243 (1/6/2017)
I modified the query to use SQL count function instead of xml count as suggested by drew .With this change i got 25~30 percent improvement in comparison to...
Igor Micev
January 6, 2017 at 6:02 am
Fantastic question!
None of the indexes options will improve the execution plan, but the proposed statistics.
Igor Micev
January 5, 2017 at 9:33 am
One option is to try to replace the Table Valued Function, as drew.allen proposes.
Do you have xml and xml path indexes on the table(s) that is used in TVF? Try...
Igor Micev
December 26, 2016 at 4:07 am
Additionally: if that column takes part in constraints, indexes and etc. you'll have to re-create them.
Igor Micev
December 23, 2016 at 10:16 am
1. Yes, every one other index having N2 as a column will be also a unique index.
2. Yes definitely, it helps the optimizer.
Igor Micev
December 23, 2016 at 10:13 am
skeleton567 (12/21/2016)
gfish@teamnorthwoods.com (12/21/2016)
Igor Micev
December 23, 2016 at 7:00 am
skeleton567 (12/23/2016)
crmitchell (12/23/2016)
skeleton567 (12/21/2016)
skipping a minute won't hurt a thing, as long as you don't tell anybody.
Until that one occasion where it does matter. As Murphy and Sod will...
Igor Micev
December 23, 2016 at 7:00 am
Send some more details like the Table definition (structure, indexes, constratints...), the query you use and the execution plan, so that someone could do a better view on your problem.
Igor Micev
December 23, 2016 at 6:34 am
Your question is not set well.
If you mean what service pack is latest in your instance then you should
SELECT @@version
Igor Micev
December 21, 2016 at 1:57 am
Jeff Moden (12/20/2016)
Igor Micev
December 21, 2016 at 12:51 am
Viewing 15 posts - 31 through 45 (of 1,170 total)