Forum Replies Created

Viewing 15 posts - 22,771 through 22,785 (of 49,552 total)

  • RE: Is moving or resizing templog without connecting to the database engine possible?

    I've never had any trouble typing into a command window. You can specify the password on the command line -P <password> or use -E for trusted connection if your windows...

    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 Issues

    sqlnaive (10/23/2011)


    Now when I join the table T1 with T2 for a select statement, the execution plan shows clustered index seek with C8 as Predicate. why is it so if...

    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: PRINCIPAL SERVER goes in "In Recovery"

    Did you check the error log to see how long recovery is still expected to take?

    Bear in mind, if you restore you'll also have to reconfigure the mirroring.

    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: Need help to optimize my query

    Can you post some easily usable sample data please (see http://www.sqlservercentral.com/articles/Best+Practices/61537/). I'm sure this could be massively optimised, not the least by getting rid of that UDF.

    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 Issues

    Not enough information

    Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Also, take a look at this because, as far as I can tell, the main question 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: Vendor suggesting their issue is a limitation of sql server

    kstjacques (10/23/2011)


    The vendor got back to me again to let me know that further testing in their labs has shown that this is a bug in thier solution.

    Gee, fancy...

    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: Which table and which column show the status of the file/filegroup such as restoring,readonly?

    http://msdn.microsoft.com/en-us/library/ms174397.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: PRINCIPAL SERVER goes in "In Recovery"

    Joy Smith San (10/22/2011)


    For lots of transactions, wait. There's nothing else that can be done there (especially if the failover was uncontrolled)

    We waited for almost 5 hours, but no luck....

    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: Delete extraneous similar rows

    BobMcC (10/22/2011)


    By the way; I attended your session last week @ SQLPass. I enjoyed it very much.

    Awesome. Glad you liked it.

    Do you ever wear shoes? 🙂

    Yes.

    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: backing up and restoring using the wizards

    From your original post:

    meridius10 (10/20/2011)


    I have done the following in this order:

    - copied an existing database as a test.

    - used the backup wizard to backup the database to an external...

    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: Are the posted questions getting worse?

    Lol

    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: Delete extraneous similar rows

    Other than the unnecessary join in the subquery (the IN does a 'join', no need to do it again), it looks fine.

    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: backing up and restoring using the wizards

    Why are you creating a new database and then restoring over it?

    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: CreateTempTable function?

    sqlguy-736318 (10/22/2011)


    AccidentalDBA:) (10/22/2011)


    Depending on what you are doing i like to user variable temp tables, there is no need to drop them at the end because once the script as...

    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: CreateTempTable function?

    AccidentalDBA:) (10/22/2011)


    Depending on what you are doing i like to user variable temp tables, there is no need to drop them at the end because once the script as completed...

    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 - 22,771 through 22,785 (of 49,552 total)