OCIlogon
| OCIlogon | 
  Purpose
 
  Synopsis
 
procedure OCIlogon(s:string)
 procedure OCIlogon(u:string,p:string,db:string)
 
  Arguments
 
| 
     s 
     | 
     Logon string as
     "user/password@db"
     | 
| 
     n 
     | 
     User name
     | 
| 
     p 
     | 
     Password
     | 
| 
     db 
     | 
     Database name (may be
     "" for the default database)
     | 
  Example
 
 The following connects to the database `test' as the user `yves' with the password `DaSH':
 
OCIlogon("yves/DaSH@test") 
 Open a connection to the default database the user 'scott' with the password 'tiger'
 
OCIlogon("scott","tiger","")
  Further information
 
 1. This procedure establishes a connection to the database
 db as user
 n/p. It is possible to open several connections but the connection established last becomes active. Each connection is assigned an identification number which can be obtained by getting the value of the parameter
 OCIconnection after this procedure has been executed. This parameter can also be used to change the active connection.
 
 2. When Mosel is running in restricted mode (see Section
 mosel command: restricted mode), the restriction
 NoDB disables this routine.
 
  Related topics
 
  Module
 
 
