??? ????? ??? "?????? ??? ????? ??????" ?? ??? ??????? ??? ?????? ????? ??? ??????? ??? ????????

?????? ????????? ?????? ?????????
???? ???????: 818202 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

????? ??? ????? ?????? ?? ???? ????????? ?????? ???? ???? ???? ???????? ?? ????? ??? ???????? ?? ?????? NO_LOG ?? TRUNCATE_ONLY ??? ????? ??????? ??????? ?? "??? ?????" ???? ???????:
??? ?????: ??? ???
??????: MSSQLSERVER
??? ?????: 6
????? ?????: 17055
????????: < ???????? ??? >
?????????: < ??? ????????? >
?????:
18278:
?????? ??? ????? ????????: ????? ????????: < ??? ????? ???????? >.

?????? ??? ????? ????? ??? ????? ?? ??? ????? SQL Server 2000.

??? ??? ?????? SQL Server 2005 ??? ????? ??????? ??????? ?? ??? ????? ???????:
??? ?????: ???
???? ?????: MSSQLSERVER
??? ?????: (6)
????? ?????: 8309
?????:
?? ????? ??? ????? ????????? WITH TRUNCATE_ONLY ?? NO_LOG WITH. ??? ?? ??? ??????? ???? ????????? ????? ???????? ??????? ??? ?????????. ????? ?? ?????????? ???? "????????? ??????" ?? http://support.microsoft.com.

?????

?? ??? ????? ????? ????? ??? ??? NO_LOG ??????? TRUNCATE_ONLY ????? ????? ????????? ??????? ????? ??? ???????? ?? ????? ????? ???????? ???????? ????? ?? ????? ????????.

??????? ????

?? ????? ??????? ??? ????? ???? ???? ????? ???????? ?? ??? ????????? ?????? ?? ???? ????? ??? ??????? ??? ???????? ???????? NO_LOG ?? ?????? TRUNCATE_ONLY. ?? ?? ????? ????? ????? ??? ?? ??? ???? ????? ???????? ?? ??? ????????? ?????? ?? ??? ??? ??????? ?????? NO_LOG ?? TRUNCATE_ONLY ????? ???? ???? ???? ???????? ?? ??? ?????????.

?????? ?????? NO_LOG ?? TRUNCATE_ONLY ??????? ??? ?????????. ??? ??????? ??? ???????? ?? ?? ????? ????? ??????? ?????? ?????? ?????.

???? ??? ????? SQL Server ? ???? ??????? ?????? ???????? ???? ??????? sqldiag. ?????? ???????? sqldiag ?????? ?? ???? ?????? ?? ?? ??????? ??????? ? ??????? ?????? ??????? ????????? (??? ??? ??? ???????). ???? ???????? ?? ??? ??? ??????? SQLDiag.txt ?? ?????? ??????:

<????? ??????? >: \Program Files\Microsoft SQL Server\MSSQL\LOG

????? ??? ??????? ???? ???? SQL Server ????? ?????.

????? ?? ????????? ??? ????? ??????? ?????? ???????? sqldiag ?? ?????? ???? Microsoft ?????? ??? ?????:

sqldiag Utility


????? ????? ????? ?? ????


????? ????? ?????? ? ???? ??????? ???????:
  1. ???? ???? ??????? SQL.
  2. ?? ?????? ????? ?????? ????? ?? ????? ?? ??????. ??? ???? ??????:
    CREATE DATABASE test 
    GO
  3. ????? ??? ????????? ????? ???????? ??? FULL. ??? ???? ??????: FULL ????????? SET
    ALTER DATABASE test SET RECOVERY FULL
    GO
  4. ????? ???? ???? ?? ??? testtab ?? ????? ????????. ????? ??? ???????? ?? testtab. ??? ???? ??????: testtab TABLE
    CREATE TABLE testtab( numbers int )
    GO

    DECLARE @i int
    SET @i=1
    WHILE @i<=100
    BEGIN
    INSERT INTO testtab VALUES(@i)
    SET @i=@i+1
    END
    GO
  5. ????? ????????? ?????? ???????? ???? ???? "??????" ??? ???? ???. ??? ???? ??????: ??????
    BACKUP DATABASE test TO DISK = 'c:\Testdb.dmp'
    GO
  6. ????? ??????? ????? ???? ???? testtab ?? ????? ???????? ?????? ??????.
    ??? ???? ??????? ??? ??? ?????? ?? ?????? testtab: testtab
    DELETE FROM testtab WHERE numbers<=10
    GO
  7. ????? ??? ??????? ????????: ??????
    BACKUP LOG test TO DISK = 'c:\Testlog.dmp'
    GO

    ?????? ???? ?? ??? ??????? ?? ???? ???????. ???? ??? ????? ??? ????? ?????????.
  8. ?? ?????? ??? ????????? ?? ???????? ?? ?? ????? ????????? ??? ????????? ??? ???? ???????? ?????? NO_LOG. ??? ???? ??????: testtab
    DELETE FROM testtab WHERE numbers<=20
    BACKUP LOG test WITH NO_LOG
    GO

    ?????? ???? ?? ??? ??????? ?? ???? ???????. ????? ????? ?? ????? ????? ????? ?????????.
  9. ????? ???? ???????? ????? ?? ????? ?????? ?????? ???????? ?????? ??????: ??????
    BACKUP DATABASE test TO DISK = 'c:\testdb.dmp'
    GO

    ?????? ???? ?? ??? ??????? ?? ???? ???????. ???? ??? ????? ??? ????? ?????????.

?????

?????? ??? ???? ?? ????????? ??? ?? NO_LOG TRUNCATE_ONLY ?? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:

BACKUP

?????? ??? ??????? ?????? ??? ?????? ???????? sqldiag ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
233332INF: ????? ?????? ?? ????? SQLDIAG ?? SQL Server ?????? ????????/???????

???????

???? ???????: 818202 - ????? ??? ??????: 29/???? ??????/1428 - ??????: 5.3
????? ???
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2005 Express Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
????? ??????: 
kbmt kbcode kberrmsg kbtsql kbprb KB818202 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????818202

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com