-
Notifications
You must be signed in to change notification settings - Fork 2
_sql_open
bergsma edited this page Sep 26, 2014
·
3 revisions
#sql_open
###Open a channel to a SQL database.
Syntax
dbHandle = sql_open ( username,password,server,database ) ;
Arguments
- str username
The username for access.
- str password
The password for access.
- str server
The name of the server (or node) for access.
- str database
The name of the database for access.
Return Value
handle dbHandle
- : A handle to the database.
The STATUS variable is set to $ACKNOWLEDGE
- 0 : A NULL handle means the database was not connected.
The STATUS variable is set to %SQL
Warnings
- %SQL : A NULL handle means the database was not connected.
Exceptions
- %ARGUMENT: Invalid arguments. Usage: dbHandle = sql_open ( username,password,server,database ) ;
Description
- None
Examples
puts "Create an example for the function 'sql_open'" ;
Related Links
None