daxConnect

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
   daxCheckCursor
   daxCommit
   daxConnect
   daxDatabase
   daxDisconnect
   daxDispose
   daxDone
   daxFetch
   daxLiteral
   daxParse
   daxRollback
   daxRowsProcessed
   daxSelectColumnName
   daxSelectColumns
   daxSelectColumnSize
   daxSelectColumnType
   daxSimple
   daxSupply
   Sample 1 (toys.csl)
   Sample 2 (portable.csl)
   Sample 3 (unknown.csl)
Async Communication
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  
daxConnect(
  const database,      // database (ORACLE, DB2, MYSQL)
 [const connection,    // connection / alias
  const username,      // user identification
  const password,      // users password
  const maxcursor])    // max. cursor pool size (default=16)

Connects to a database. Currently ODBC, ORACLE, DB2 and MYSQL are supported on the platforms they are available for. Returns a database link handle used for subsequent operations.

The meaning of connection varies depending on the type of database:

Database Connection
ODBC Data source name
Oracle SQL*Net name
DB2 Database alias
MySQL
database[:host[:port[:socket]]]
Examples:
test
Database test on current host by default port.
:boston
Default database on host boston.
test::50
Database test on current host by port 50

  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>