|   | ![]() |
|
If I lose my data file (MDF) in
SQL 7 I can't backup the log to recover to a point in time - why not? A small oversight on MS's part - which will be fixed in the next major (not service-pack) release of SQL. Under 6.5 you would do BACKUP LOG <dbname> TO <device> WITH NO_TRUNCATE. Under SQL 7 this gets you an error Server: Msg 3446, Level 16, State 1 Primary file not available for database <xx> This is because the metadata that tells SQL where the files are for the database are in the primary file - in SQL 6.5 this info was held in system tables in master. A workaround for this is :-
|
All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.