数据库连接字符串问题
请问通过DSN连接数据的连接字符串,sybase11和sybase12.5,连接方式是否是一样呢?谢谢! DSN ??就是ODBC吧,连接字符是一样的 [ 本帖最后由 andkylee 于 2011-2-26 17:41 编辑 ]Adaptive Server Enterprise ODBC driver
Type: ODBC Driver
Usage:Driver={Adaptive Server Enterprise}
Manufacturer:Sybase
Adaptive Server Enterprise 15.0
Driver={Adaptive Server Enterprise};app=myAppName;server=myServerAddress;port=myPortnumber; db=myDataBase;uid=myUsername;pwd=myPassword;
Standard Sybase System 12 Enterprise Open Client
Driver={SYBASE ASE ODBC Driver};Srvr=myServerAddress;Uid=myUsername;Pwd=myPassword;
Standard Sybase System 12.5 Enterprise Open Client
Driver={SYBASE ASE ODBC Driver};NA=Hostname,Portnumber;Uid=myUsername;Pwd=myPassword;
TDS based ODBC driver (from Sybase OCS 12.5)
Driver={Sybase ASE ODBC Driver};NetworkAddress=myServerAddress,5000;Db=myDataBase; Uid=myUsername;Pwd=myPassword;
Standard Sybase System 11
Driver={SYBASE SYSTEM 11};Srvr=myServerAddress;Uid=myUsername;Pwd=myPassword;Database=myDataBase;
页:
[1]