on 2017 May 12 3:17 AM
Hello everyone
can i connect to sybase anywhere 12 from powerbuilder without ODBC?
Thank you.
PowerBuilder supports a number of database interfaces other than ODBC. Those options include JDBC, OLEDB, and ADO.NET (and it may also be possible to connect via openclient although that is not supported - or known to work).
You can connect using ODBC without a DSN. That technique is termed a DNSLess connection. This is an ODBC feature that requires the use of the parameter Driver that is set to the value of the ODBC Driver Name. Here is an example:
sqlca.DBMS="ODBC" sqlca.DBParm = "ConnectString='Driver={SQL Anywhere 12};ENG=SAEng,DBN=SADbName;UID=dba;Pwd=sql'"
The PowerBuilder Documentation "Connecting to your database" describes each of the interface options and is a useful reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
11 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.