Forum Replies Created

Viewing 15 posts - 35,011 through 35,025 (of 49,552 total)

  • RE: Be Prepared

    But why would you need a backup? I mean, it's not as if a disk will fail, or someone drops a table (or the entire database) or the data file...

    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: help with drop index cusor

    You need brackets around the parameter to the exec.

    EXEC @sql -- SQL assumes that @sql contains he name of a stored procedure

    EXEC (@sql) -- SQL will execute the contents of...

    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: Books for Query Optimizer inner workings?

    I don't think there is a comprehensive book, as much of the internal workings, the costing algorithms etc, as far as I know are not public knowledge.

    There's a large...

    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: Recover Data File - MDF

    Why on earth is there no backup?

    Please run this and post the full and complete output.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    Without a database backup, the database cannot be recovered...

    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 'msdb' cannot be opened

    If you're happy with rebuilding and losing all your jobs, job history, backup history, etc, then go ahead. If not, I can help you rebuild the log.

    Would you mind...

    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 from script file

    Open in management studio, change the database name (if necessary) and execute.

    You are aware that this is just a script of the structure of the DB? There's no data included...

    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 'msdb' cannot be opened

    The error log is a text file. Just do a search for it in the OS, it'll be called ERRORLOG.

    We can probably do an emergency mode repair and rebuild...

    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: 2005SQL on Windows 7 (again!)

    Developer edition is the full enterprise edition features with a non-production licence, so you lose nothing in the way of features by using it.

    If you still have problems, some...

    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: Repairing problem

    Renis Cerga. (1/3/2010)


    Unfortunately it takes a lot of time, because db is more than 200GB, and DB is in live production, so i can't allow to do it...

    You need...

    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: Log Rescue

    BigSam (1/3/2010)


    Does Red Gate have a similar tool for SQL 2k5 & 8? (I've got the Credit Card ready.)

    No. From what I heard, they found it not commercially viable, hence...

    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: 2005SQL on Windows 7 (again!)

    Enterprise edition is not supported on non-server operating systems. It's only supported when running on Server 2003/2008/2008 R2. Not Windows 7.

    Why are you using Enterprise edition? If it's for development,...

    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: WHERE filter is killing my query against a SQL Server 2005 database

    Great. CheckDB will take a while, so don't run it when the server is in use.

    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: Log Rescue

    There are three I know of.

    Apex Sql Log Reader

    Lumigent Log Explorer

    Quest Log Reader

    None of them are free. I don't know the price of the quest one, but when I check...

    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: getting date in descending order in Sql server 2005

    Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    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 become Master in SQL Server 2005

    Read everything you can find. Try things out until you understand them (not on the production server). Read more. Practice. Read. Repeat for a few years

    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 - 35,011 through 35,025 (of 49,552 total)