4. Setting Environment Variables and Logicals : Customization of Query Runtime Environment : DBNAME_SQL_ INIT
 
Share this page                  
DBNAME_SQL_ INIT
This name applies to the SQL single-line terminal monitor only. DBNAME_SQL_INIT points to SET statements within a file that are executed whenever this Ingres environment variable/logical takes effect.
DBNAME_SQL_INIT affects users who connect to the database specified by DBNAME through the SQL Terminal Monitor. If set globally, it affects all users of DBNAME. If set interactively or locally, it affects only this user.
Windows: Global setting is with ingsetenv, or locally in the user's environment.
UNIX: Global setting is with ingsetenv, or locally in the user’s .login, .profile, or .cshrc file.
VMS: Global setting is with define/system, define/group, or locally with define/process in the user’s login.com file.
Setting the DBNAME_SQL_INIT environment variable/logical is equivalent to a user’s executing \filename in the SQL Terminal Monitor each time they connect to DBNAME.