HI guru
do you know what is best connective way connect sql server 2016 using powerbuilder 2019 r3
(1) SNC
(2) odbc
(3) OLE DB
is sql server 2016 not support snc ?
William
HI guru
do you know what is best connective way connect sql server 2016 using powerbuilder 2019 r3
(1) SNC
(2) odbc
(3) OLE DB
is sql server 2016 not support snc ?
William
SQLCA.DBParm = "PROVIDER='SQLOLEDB',DATASOURCE='computername\instancename',PBMaxBlobSize='100000',PBMaxTextSize='100000',PROVIDERSTRING='Database=database'"
Or
SQLCA.DBMS="SNC SQL Native Client(OLE DB)"
SQLCA.Database=database
SQLCA.LogId=sa
SQLCA.LogPassword=pass
SQLCA.AUTOCOMMIT=True
SQLCA.Lock="RC"
SQLCA.DBParm = "Database='database',Provider='SQLNCLI10'"
Both works for me.