The Transaction object properties required to connect to the database are different for each PowerBuilder database interface. Except for SQLReturnData, the properties that return status information about the success or failure of a SQL statement apply to all PowerBuilder database interfaces.
Table 12-2 lists each supported PowerBuilder database interface and the Transaction object properties you can use with that interface.
Database interface |
Transaction object properties |
|
---|---|---|
Informix |
|
|
JDBC |
|
|
Microsoft SQL Server |
|
|
ODBC |
|
|
OLE DB |
|
|
Oracle |
|
|
Sybase DirectConnect |
|
|
Sybase Adaptive Server Enterprise |
|
|
* UserID is optional for ODBC. (Be careful specifying the UserID property; it overrides the connection’s UserName property returned by the ODBC SQLGetInfo call.)
# PowerBuilder uses the LogID and LogPass properties only if your ODBC driver does not support the SQL driver CONNECT call.