Viewing 15 posts - 3,481 through 3,495 (of 49,552 total)
Jeff Moden (3/7/2016)
Heh... I strongly agree... to disagree. 😛
You're welcome to disagree, but Profiler's deprecated and Extended Events are far better, lighter weight, more configurable and new events aren't...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 8:12 am
GonnaCatchIT (3/7/2016)
So if Auto_Close is not in SQL Server 2005 r2, then this is not the cause in my case.
I never said that.
What I said was that there is no...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 7:57 am
No, the error means exactly what it says. At the time the login was attempted, the database WorkflowPersistence was not available.
A common cause of this is having auto_close set on...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 7:39 am
Tried the documentation?
https://msdn.microsoft.com/en-us/library/ms151198.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 2:07 am
You shouldn't be using Profiler in SQL 2014 anyway. Use Extended Events, Lighter-weight, far more powerful and you can convert any profiler-based analysis to extended events trivially.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 1:56 am
Replace the CREATE TABLE with DECLARE, then change the name in every place it's referenced.
Be aware that table variables may result in the query performance degrading due to the lack...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 7, 2016 at 1:55 am
As the error says, the index had had page level locking disabled on it, via an ALTER INDEX statement.
You can either enable page level locking or switch to rebuilding the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 4, 2016 at 7:44 am
Sounds like normal behaviour,
When you want to restore a full and differential, the full has to be restored WITH NORECOVERY, which leaves it in the RESTORING state. Then you restore...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 4, 2016 at 6:45 am
Ok, now that I have some time to sit and look at this all.
Despite the huge number of rows in the output, there's only two errors there. Whatever that table...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 7:03 am
Ok, let's try this
INSERT INTO Cars (CarID, Make, Model)
VALUES (1, 'Opel', 'Corsa'), (2, 'VW','Polo'), (3, 'BMW', 'Z4')
INSERT INTO CarOwners (OwnerID, CarID, Owner, EndDate)
VALUES (1,1,'Pam','2014-02-15'), (2,1,'Bob', '2015-10-25'), (3,2,'Sam', '2016-01-01'), (4,1,'John','2016-02-29'), (5,3,'Mark',...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 6:46 am
Yes, we get that you don't want to see Verbruggen and you do want to see Hollewegens, but what we're asking is what values of columns determine that Hollewegens is...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 6:35 am
Deprecated doesn't mean 'not supported'. It means that it will be removed in a future version.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 6:32 am
tony28 (3/3/2016)
GilaMonster (3/3/2016)
To write a query we need a method to determine which user should be shown, based on columns in...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 6:12 am
What defines Hollewegens as the user you want to see?
To write a query we need a method to determine which user should be shown, based on columns in the User...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 6:02 am
Cool, and what determines the user that you want to see? for each car?
The one with 1900-01-01?
The one with the highest Enddate?
The one with the lowest Enddate?
Something else?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 3, 2016 at 5:35 am
Viewing 15 posts - 3,481 through 3,495 (of 49,552 total)