Backup/Restore T-SQL

  • Hi Guys

    When scripting to new query window a Restore database job

    RESTORE DATABASE [DB] FROM DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\DB.bak' WITH FILE = 8, NORECOVERY, NOUNLOAD, STATS = 10

    What does the "N" and the "STATS = 10" indicate?

    Thanks

    Derek

  • The N is not specific to restores, it is the way of telling sql server that the string value could be unicode.

    The stats is a percentage showing how often you want the restore monitor to report it status.

  • steveb. (10/28/2011)


    The N is not specific to restores, it is the way of telling sql server that the string value could be unicode.

    The stats is a percentage showing how often you want the restore monitor to report it status.

    Cool - Thanks

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply