Sybase Adaptive Server Anywhere Reference page 67

Table of Contents

Advertisement

Examples
AutoStart connection parameter [Astart]
Function
Usage
Default
Description
Chapter 3 Connection and Communication Parameters
Connect to the default database from the C++ version of
Interactive SQL:
dbisqlc -c uid=dba;pwd=sql
View the application information:
select connection_property('appinfo')
The result is as follows (in a single string):
HOST= machine-name ;
OS=Windows NT 4.0;
PID=0x11b;
THREAD=0x102;
VERSION=7.0.00.3642
Connect to the default database from the C++ version of
Interactive SQL, appending your own information to the AppInfo
property:
dbisqlc -c "uid=dba;pwd=sql;app=ISQL connection"
View the application information:
select connection_property('appinfo')
The result is as follows (in a single string):
HOST= machine-name ;
OS=Windows NT 4.0;
PID=0x10e;
THREAD=0xe1;
VERSION=7.0.00.3642;
APPINFO=ISQL connection
To prevent a local database server from being started if no connection is
found.
Anywhere
Yes
By default, if no server is found during a connection attempt, and a database
file is specified, then a database server is started on the same machine. You
can turn this behavior off by setting the AutoStart parameter to No or OFF in
the connection string.
49

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents