Welcome to Sign in | Help
in Search

update neglijent.

Last post 10-19-2006, 12:35 PM by ggciubuc. 7 replies.
Sort Posts: Previous Next
  •  10-16-2006, 5:25 PM 390

    update neglijent.

    Am facut o mare timpenie. Am facut un update pe o tabela cu multe inregistrari si am omis ... cauza de where. Drept urmare updateul a fost facut pe toate inregistarile. Este vreo posibilitate de rollback ? Nu am un backup satsifacator de nou.

     multumiri in avans.

    Filed under:
  •  10-16-2006, 5:26 PM 391 in reply to 390

    Re: update neglijent.

    - Verificati recovery model al bazei de date din Enterprise Manager
    - Urmati pasii descrisi aici: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#EY3AE
    Cristian Andrei Lefter, SQL Server MVP
    MCT, MCSA, MCDBA, MCAD, MCSD .NET,
    MCTS, MCITP - Database Administrator SQL Server 2005
    http://sqlserver.ro
  •  10-16-2006, 5:32 PM 392 in reply to 391

    Re: update neglijent.

    Sau aici: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_bkprst_0cvi.asp

    Din discutiile offline am inteles ca aveti un full backup si atat iar problema a avut loc la 15:58. In acest caz faceti backup la transaction log conform descrierii de mai sus iar pe urma rulati:

    RESTORE DATABASE myDB FROM DISK='C:\fisierfullbackup.bak' WITH NO RECOVERY
    RESTORE LOG MyDB FROM DISK='C:\log.bak' WITH RECOVERY STOPAT = '2006/10/16 15:57:00'


    Cristian Andrei Lefter, SQL Server MVP
    MCT, MCSA, MCDBA, MCAD, MCSD .NET,
    MCTS, MCITP - Database Administrator SQL Server 2005
    http://sqlserver.ro
  •  10-17-2006, 10:45 AM 410 in reply to 392

    Re: update neglijent.

    SQL-BackTrack for Microsoft SQL Server (5.5.00)  este un produs third-party (vezi la http://shop.bmc.com/product_moreinfo.cfm?id=1E6693) daca aveti timp poate testati cum v-ar fi rezolvat problema si ne dati si noua un semnal.
    Gheorghe Ciubuc,SQL Server Influencer, MCP(SQL 2000), MCTS (SQL Server 2005) , OCA(Oracle 9i), Sybase(Brainbench)
  •  10-17-2006, 11:07 AM 411 in reply to 410

    Re: update neglijent.

    Am fost contactat ieri pe telefon de Sorin: problema a fost rezolvata intre timp prin clasicul RESTORE LOG ... WITH STOPAT Smile


    Cristian Andrei Lefter, SQL Server MVP
    MCT, MCSA, MCDBA, MCAD, MCSD .NET,
    MCTS, MCITP - Database Administrator SQL Server 2005
    http://sqlserver.ro
  •  10-17-2006, 11:22 AM 413 in reply to 411

    Re: update neglijent.

    Rugamintea mea e o "pedeapsa" pentru neglijenta!
    Gheorghe Ciubuc,SQL Server Influencer, MCP(SQL 2000), MCTS (SQL Server 2005) , OCA(Oracle 9i), Sybase(Brainbench)
  •  10-19-2006, 12:20 PM 437 in reply to 413

    Big Smile [:D] Re: update neglijent.

    offtopic: Si care ar fi pedeapsa :D ? ontopic: Intradevar am rezolvat cu asistenta din partea Cristi folosind RESTORE LOG , WITH STOPAT ........
  •  10-19-2006, 12:35 PM 439 in reply to 437

    Re: update neglijent.

    Legat de "pedeapsa" - a se vedea interventia mea de mai sus Smile

    Ideea e ca e bine sa stim si de existenta unor scule third-party care ne-ar putea rezolva problema mai bine, poate decat cele clasice!


    Gheorghe Ciubuc,SQL Server Influencer, MCP(SQL 2000), MCTS (SQL Server 2005) , OCA(Oracle 9i), Sybase(Brainbench)
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems