on 07-02-2014 12:31 PM
Hi,
I am using 11.2 powerbuilder and I want to connect sqlserver 2008 . What is the best method of giving connectivity with powerbuilder and Sqlserver
Please can you send a sample code to set up the connection with database.
Kind Regards
Polachan
Hi Polachan;
Personally for the best speed and access to SS functionality, I would recommend using SQLServer Native Client (or SNC for short).
Example:
SQLCA.DBMS = "SNC"
SQLCA.LogPass = <************>
SQLCA.ServerName = "<yourserver>"
SQLCA.LogId = "DBA"
SQLCA.AutoCommit = False
SQLCA.DBParm = "Database='CIPTest',Provider='SQLNCLI10',DelimitIdentifier=1,TrustedConnection=1"
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Check that MS link to get the native client: Get the SQL Server Native Client
P.S: For PB 11.2, we advised to use SNC V 2005: Supported versions for SQL Server
HTH
Jacob
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.