Forum Replies Created

Viewing 15 posts - 1,141 through 1,155 (of 49,552 total)

  • RE: why cant we take regular full backup on secondary replica?

    sql_lock - Wednesday, July 12, 2017 7:13 AM

    You can take COPY_ONLY backup as this does not break the log chain.

    Wrong. Full backups,...

    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: read after write

    If you write a piece of data, then read it at any time after the write completed, you get back the data that you wrote.

    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: Using Variables in Stored Procedure

    Oh, so just another column in the query?

    SELECT CompanyName ,
       SUM(TotalSales) AS TotalProductSales ,
       SUM(TotalCost) AS TotalCost ,
       SUM(TransCost)...

    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: Using Variables in Stored Procedure

    What exactly are you trying to do?

    It's possible to get a value out of a procedure as an output parameter, but it's a single value. Resultsets, as you...

    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: Long running insert

    Row estimations are off by a large factor.
    Can you try doing a stats update WITH FULLSCAN on the tables involved in that query?

    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: Long running insert

    .

    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: Can't convert minutes to hours after 24 hours

    gailcole - Tuesday, July 11, 2017 2:22 PM

    it should be 1900-01-02 24:01:00.000

    That's not a valid time though. A clock's not going to show...

    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: Upgraded to sql 2016 but I am still able to query and create tables with "text" data types.

    Thom A - Tuesday, July 11, 2017 10:02 AM

    The text data type has been deprecated since 2008.

    Since 2005.

    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: installing user CALs on SQL server 2016 standard

    Licensing is about paperwork. You need to have bought enough CALs for your users and have the paperwork to prove it when you get audited. They aren't objects that you...

    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: Corruption of the file format .mdf

    You don't run database files. You attach them to a SQL instance.

    What is the exact problem you're having, what errors are you getting?

    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: Designing and Architecture

    Grant Fritchey - Monday, July 10, 2017 7:10 PM

    Hopefully 2014 or better, preferably 2016. In that case, a bare-bones set up...

    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: Designing and Architecture

    sqlenthu 89358 - Monday, July 10, 2017 2:18 PM

    Thanks for the insight Grant. We have two new prod servers in one location...

    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: Deleted

    The u.last_logged_in is NULL for all those cases.

    NULL never returns true in any comparison (other than IS (NOT) NULL), and so the ELSE branch of the case...

    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: Moving Partititioned Data

    You can't move files or filegroups from one database to another, if that's what you were thinking.

    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: Azure DWH part 10: WPF and Azure SQL Data Warehouse

    Rod at work - Monday, July 10, 2017 8:26 AM

    I know that SQL 2017 was announced, but I didn't know that 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

Viewing 15 posts - 1,141 through 1,155 (of 49,552 total)