Forum Replies Created

Viewing 15 posts - 38,776 through 38,790 (of 49,552 total)

  • RE: DB restore

    First the full backup, then the last differential, then all of the logs, in order. Restore them all with the NORECOVERY option then, once you're certain that you have all...

    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: dbo.status?

    NathanB (5/31/2009)


    Hey guys, I believe Julio created a new Topic instead of replying in http://www.sqlservercentral.com/Forums/Topic725410-8-1.aspx.

    Nah. This one and the one you reference were started at the same 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: Frequently Database goes suspect mode!

    Shripad (6/1/2009)


    Dear Paul,

    I can restore the backup, its too easy to tell but its difficult to loose the data. My friends didn't took backup when i was on leave. I...

    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: Incorect Sintax

    The line you posted looks fine. Please post the entire script.

    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: Script to check status of Index rebuild

    If you want to know which tables your custom script has rebuild, add something in to the custom script to log that. If you want to see the fragmentation level...

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

    As I said

    When set to ON, the database is shut down cleanly and its resources are freed after the last user exits. The database automatically reopens when a user tries...

    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: shrink database trought enterprise manager

    Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.

    Shrinking causes massive fragmentation and will just result in 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: MSDB suspect

    It won't be suspect anymore, but you'll still have lost all of your jobs, backup history, DTS packages, SSIS packages and whatever else is stored in msdb.

    Personally, I'd rather say...

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

    Books online says this:

    When set to ON, the database is shut down cleanly and its resources are freed after the last user exits. The database automatically reopens when a 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: How to performance this query

    Table definitions, index definitions and execution plan (saved as a .sqlplan file, zipped and attached) please.

    I'll be blunt, that query will not perform well and there's probably not much that...

    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: Create table

    _simon_ (5/31/2009)


    My main entity in this model is Job, it contains Client, RoomNumber, Hookers, Services,... So one query would be which materials are used mostly and how often (condoms, lubricants,...

    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: Restore problem. Please help !! It's urgent

    Have you checked that the database is been restored to the large drive and not to C?

    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: Create table

    _simon_ (5/31/2009)


    Thanks for your reply, I changed my code, hope it is OK now:

    You sure that a customer's name will be unique?

    What indexes should I create on table BillOfMaterials?

    Very hard...

    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: Restore problem. Please help !! It's urgent

    Stupid question, but is there enough space on the disk for the files you're trying to put there? It's possible that the restored database will be larger than the backup...

    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 Backup Error

    You should not be trying to backup the SQL data and log files using NTBackup. The files are locked by SQL server and either NTBackup will skip them or 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 - 38,776 through 38,790 (of 49,552 total)