Forum Replies Created

Viewing 15 posts - 3,481 through 3,495 (of 49,552 total)

  • RE: Query/Performance Tuning Steps without help of profiler

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Login failed for user 'sqluserid'

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Login failed for user 'sqluserid'

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Basic criteria requirement for replication

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Query/Performance Tuning Steps without help of profiler

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Please Provide me Sample for replacing temp table with temp variable

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Index cannot be reorganized because page level locking is disabled error in SQL Server

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database is going to restoring mode restoring db from differential backup

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database corrupt

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Too many results

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Too many results

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DB mirroring support MSSQL 2014

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Too many results

    tony28 (3/3/2016)


    GilaMonster (3/3/2016)


    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...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Too many results

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Too many results

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 3,481 through 3,495 (of 49,552 total)