Forum Replies Created

Viewing 15 posts - 43,276 through 43,290 (of 49,571 total)

  • RE: Recover deleted records

    Good one! Anybody can try using this to recover records deleted from tables in SQL Server 2000.

    Providing the log records are there. Backups are still (and probable always will be)...

  • RE: The Reverse Optimization Challenge #1

    why not....

    Hint hell:

    SELECT CompanyName, OrderDate, ProductName, OD.UnitPrice, Quantity, SUM(OD.UnitPrice) * Quantity TotalPrice

    FROM Orders O with (INDEX = CustomerID)

    INNER LOOP JOIN [Order Details] OD WITH (INDEX =...

  • RE: database 'master' is not valid 9003 error Help!!!

    Do you have a backup of master?

  • RE: Get future quota data with current results

    Can you post the table definitions (as create scripts), some sample data (as insert statements) and your expected results please?

  • RE: database 'master' is not valid 9003 error Help!!!

    Does the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG" exist? Is it readable?

    Do you have a backup of the master database?

    Can you do a check of the C drive? It looks like...

  • RE: Are Triggers a "legacy" Feature? (Database Weekly, Nov 08 2008)

    Triggers have uses, but I'm not sure that business logic is a good one.

    For me, auditing is the main use. In 2008 Change data capture and change data tracking can...

  • RE: Creative SPAM

    I had one of those investment-type spams that made me laugh because of the coincidence in it.

    It started

    "Since you are not a client of XYZ bank ..." with XYZ bank...

  • RE: More Information About SQL Server 2005 DMVs

    Chad Churchwell (11/7/2008)


    I use sys.dm_db_index_usage_stats to find obselete indexes that have not been accessed and are unneeded overhead in the database.

    I also use sys.dm_db_missing_index_group_stats and sys.dm_db_missing_index_details to identofy indexes that...

  • RE: "Locking" issues

    Barkingdog (11/6/2008)


    From the user's perspective their application appears to stop functioning until we use sp_who2 to find the user causing the block and ask that user to close the open...

  • RE: RESIZE THE NDF FILE

    Look up ALTER DATABASE in books online. It will be one of the Modify File options.

  • RE: I can't drop a database, please help

    onlo (11/6/2008)


    It always said some bodies in use, but sp_who2 told me nobody was holding this db.

    ALTER DATABASE < DB name > SET OFFLINE WITH ROLLBACK IMMEDIATE

  • RE: Re: Interpreting results for SET STATISTICS IO

    The (unexpected) answer is both.

    Physical and readahead reads are physical IOs, ie they are reads from the physical disk. Logical reads are reads from memory.

    So, your second query required more...

  • RE: Help with interview questions for a DBA position

    That's a wide-open question

    SQL not running

    SQL running but no accepting connections

    Database corruption

    Backup failures

    Drive failure (data file, log file or both)

    User deleted data accidentally

    Deadlocks

    Query running yesterday, giving error today

    ... etc

    If you...

  • RE: Rescue me please!!!

    Jeffrey Williams (11/7/2008)


    Another option (which will require a downtime) is to:

    1) Perform a transaction log backup (tail log)

    Assuming the DB is in full/bulk logged and there is a database...

  • RE: Maximum stored procedure, function, trigger or view nesting level exceeded (Level 32)

    ajaykini (11/7/2008)


    Lynn:

    Thank you for your understanding and patience.

    I hope i am now on the right track to receive your valuable advise to resolve the problem.

    Almost. For the sample data you...

Viewing 15 posts - 43,276 through 43,290 (of 49,571 total)