6. QUEL and EQUEL Statements : Ingres Statement—Connect to a Database : Example
 
Share this page                  
Example
The following example connects to the "personnel" database as user "neil", locking the database for exclusive use by specifying the -l option:
## userid     character_string(10)
   userid = "-uneil"
## ingres userid "-l" "personnel"