|
|
| |

How to install SQL scripts and import data to SQL Server from the
command line?
Answer:
You can create *.bat file which include something like this:
osql -S ServerName -U LoginName -P password -i c:\script.sql
where c:\script.sql - the script to create metadata and load data.
See instpubs.sql file in the Install subdirectory of your SQL Server
installation as example of creating such script.
|
|
|