|
ApexSQL Knowledgebase Tips and How-to Articles for Apex SQL Tools How to Execute large scripts generated by the Recovery Wizard DESCRIPTION In case of recovery of huge databases Recovery Wizard can generate very large result scripts. Such scripts are saved by ApexSQL Log to the flat files at a given place. These files cannot be opened and executed using SQL Server utilities such as SQL Server Management Studio, for example. SOLUTION The only way to execute such large scripts is to run osql (or sqlcmd) command line utility that comes with SQL Server. Here are short examples of usage: a. osql -H <host> -S <server> -U <user> -P <password> -i <path> b. sqlcmd -S <computername\instancename> -i <path> -o <output> LAST REVIEW DATE 30 August 2007 Labels: ApexSQL Log |
© 2008 Apex SQL Tools All Rights Reserved | 1.919.968.8444 | Contact Us | Terms of Use
