Forum Replies Created

Viewing 15 posts - 1,516 through 1,530 (of 49,552 total)

  • RE: how to update gender = M or F in a table that has gender values as null

    General advice - don't. There's no way from the name you're going to get the gender right. If that's a customers table, then doing so is sooner or later going...

    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: SQL Server detected a logical consistency-based I/O error: incorrect checksum

    bmg002 - Thursday, April 20, 2017 11:21 AM

     there was also  8 consistency errors in database 'ACSA'.

    Not 'also'
    There are 8 errors in the ACSA...

    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: SQL Server detected a logical consistency-based I/O error: incorrect checksum

    NO!

    It is NOT a suggestion! It's not the recommended approach.

    Asking again,:
    Is that on the restored backup, or on the source database that the backup came...

    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 UTILIZATION script and determining WHICH INDEXES are NOT USED at all

    No. It means that it hasn't been used since the last time the database was started (last time it was restored, or last time SQL Server started)

    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: SQL Server detected a logical consistency-based I/O error: incorrect checksum

    Is that on the restored backup, or on the source database that the backup came from?

    Should i run the last suggestion: "Repair_allow_data_loss"?

    Do you want...

    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: A little tale and a seven questions about SQL partition

    jcb - Thursday, April 20, 2017 8:45 AM

    Comparing both databases I found all PK (all tables ID clustered indexes) has been changed...

    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: SQL Server detected a logical consistency-based I/O error: incorrect checksum

    Please run the following and post the full and complete output. Run it on both that database and on the source database that the backup came from

    [code...

    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: Record Insert fails in database table

    Can you post the insert statement with its values? It's not going to be coming from the identity column. With a bigint data type it can take numbers far larger...

    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: Number of files in different filegroups

    No.

    The 'multiple files in the filegroup' recommendation is for TempDB, not user databases.
    Unless you need to spread over multiple physical drives for performance, there's little reason to...

    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: Deadlocks on Clustered Index

    Lynn Pettis - Wednesday, April 19, 2017 3:07 PM

    All I said it is what allows the quirky update to work.  Without this,...

    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: Deadlocks on Clustered Index

    Lynn Pettis - Wednesday, April 19, 2017 2:44 PM

    The variable = expression = expression part 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: Deadlocks on Clustered Index

    Eric M Russell - Wednesday, April 19, 2017 2:16 PM

    DesNorton - Wednesday, April 19, 2017 1:45 PM

    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 on SQL SERVER WARNING.!

    If you can't change the data type, then you need to accept the CAST (and casting the account to INT will give you the same warning). It won't cause cardinality...

    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: Question: Migrating from SQL 2014 to Azure SQL

    Fred Theron - Wednesday, April 19, 2017 12:39 PM

    What if you created a "read_only" file group to keep the data in your...

    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 to set library for CREATE VIEW in EXEC @SQL script

    What do you mean by 'library'?

    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,516 through 1,530 (of 49,552 total)