Forum Replies Created

Viewing 15 posts - 17,926 through 17,940 (of 49,552 total)

  • RE: How to Secure the Database when Restore the Database

    Make sure only the DBA has the required rights to restore a DB.

    Or do you mean you want to secure the backup file so it can't be restored elsewhere?

    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 to be formed to test data corruption.

    DBCC CheckDB is what you use to detect corruption.

    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 2012 Beta Exam Results

    Be patient.

    MS doesn't email you with beta exam result. You get the paper results in the post from Prometric. As for the MCP site, it says that it takes time...

    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: TVP Physical Order

    BSavoie (6/23/2012)


    I want the rows back in the same order they were entered (the physical order).

    Then you need a column that defines that order and you need to order...

    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 in Restoring state

    SQL_Surfer (6/22/2012)


    Yep. I had 'take tail log backup' option checked. Thanks.

    That option means 'backup the log and switch the database into the restoring state'.

    It's not an option that should...

    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: Backup error through Management plan

    ksrikanth77 (6/22/2012)


    This happens when there is a permission issue with the ID which you are running the job or there is a Drive corruption where the backups are executing

    It's not...

    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: Add Schema to missing Index Script

    Welsh Corgi (6/22/2012)


    I could exclude the sys.schemas table and use the Schama_Name Function on Schema_Id.

    Yes, you could.

    What existing Table & Column to a JOIN to from the sys.Tables Column?

    GilaMonster (6/22/2012)


    Join...

    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: Add Schema to missing Index Script

    Join to sys.tables on object_id, then to sys.schemas on schema_id. Add sys.schemas.name to the list of columns

    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: Add Schema to missing Index Script

    Join to sys.tables and then sys.schemas

    p.s. Don't automatically create 'missing' indexes, they're guidelines not directives.

    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: Private Messages

    Welsh Corgi (6/22/2012)


    How do you navigate to your private messages?:unsure:

    Top left, right above Home > [Forum name], the link that reads "Messages"

    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: Backup error through Management plan

    And note that there's a space in the folder name because the database has a trailing space in its name

    Backup\\Tax \\

    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: Fastest Way to recover Transactional Log File in SQL 2008

    Jai-SQL DBA (6/22/2012)


    Another Way of fixing is as Follows:

    If you want to attach a MDF without LDF you can follow the steps below It is tested and working fine

    Nope, that's...

    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: Trigger Not Executing

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1319084-359-1.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: Trigger Not Woking

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1319084-359-1.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: Fastest Way to recover Transactional Log File in SQL 2008

    Restore from backup is the safest and often fastest.

    Your 'solution' contains deprecated functionality (sp_dboption) and may well result in data loss (CheckDB with REPAIR ALLOW DATA LOSS)

    Any 'solution' that suggests...

    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 - 17,926 through 17,940 (of 49,552 total)