If you use an extensive set of options, you can store them in a configuration file and invoke that file in a server command. The configuration file can contain options on several lines. For example, the following configuration file starts the 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 samples-dir\demo.db
In the example, samples-dir is the name of your SQL Anywhere samples directory. On Unix, you would use a forward slash instead of the backslash in the file path.
For information about samples-dir, see Samples directory.
If you name the file sample.cfg, you could use these options as follows:
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|