You can store the set of options used to start a database server in a configuration file and invoke that file in a database server command. The configuration file can contain options on several lines. For example, the following configuration file starts a personal database server and the sample database. It sets a cache of 10 MB, and names this instance of the personal server Elora. Lines with # as the first character in the line are treated as comments.
# Configuration file for server Elora -n Elora -c 10M "%SQLANY12%\demo.db" |
If you name the file containing these options sample.cfg, you could use the file as follows:
dbeng12 @sample.cfg |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |