Viewing 15 posts - 31 through 45 (of 1,169 total)
Any assistance would be much appreciated!
We just upgraded to SQL Server 2014 but when...
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...
January 17, 2017 at 1:07 pm
January 17, 2017 at 1:05 pm
declare
@UpdateDate VARCHAR(21) ,
-- date...
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.
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...
January 6, 2017 at 6:02 am
Fantastic question!
None of the indexes options will improve the execution plan, but the proposed statistics.
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...
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.
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.
December 23, 2016 at 10:13 am
skeleton567 (12/21/2016)
gfish@teamnorthwoods.com (12/21/2016)
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...
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.
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
December 21, 2016 at 1:57 am
Jeff Moden (12/20/2016)
December 21, 2016 at 12:51 am
Viewing 15 posts - 31 through 45 (of 1,169 total)