Goto main content

ora_connect

Create a physical connection to an Oracle database server.

ora_connect

NAME

ora_connect Create a physical connection to an Oracle database server.

SYNOPSIS

ora_connect(database:string, username:string, password:string [, error:variable]);

DESCRIPTION

This function create a physical connection to an Oracle database server.

MODULE

In order to use module oracle, you must include the following file in the configuration file /usr/local/website/conf/project.conf:
	Module ora {
		Library : "/usr/local/lib/libsnora.so"
		Init : "snora_init"
		ChildInit : "snora_child_init"
	}

RETURN

The return value is a pointer to the database which will be used in subsequent call.

EXAMPLES

	db = ora_connect(database:"//192.168.5.18:1521/b2btrust",username:"b2btrust",password:"******");

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>

VERSION

1.0 2016-03-08 03:23:00 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.