ADO连接数据库字符串大全Note: Specify the filename in the SQL statement. For example: Note: MDAC 2.1 (or greater) requires the Borland Database Engine (BDE) to update dBase DBF files. (Q238431). For more information, see: dBASE Driver Programming Considerations ODBC Driver for Excel For more information, see: Microsoft Excel Driver Programming Considerations ODBC Driver for MySQL (via MyODBC) oConn.Open "Driver={mySQL};" & _ To connect to a remote database oConn.Open "Driver={mySQL};" & _ For more information, see: Programs Known to Work with MyODBC ODBC Driver for Oracle oConn.Open "Driver={Microsoft ODBC for Oracle};" & _ For the older Oracle ODBC Driver from Microsoft: oConn.Open "Driver={Microsoft ODBC Driver for Oracle};" & _ For more information, see: Connection String Format and Attributes ODBC Driver for Paradox Note: MDAC 2.1 (or greater) requires the Borland Database Engine (BDE) to update Paradox ISAM fDBF files. (Q230126). For more information, see: Paradox Driver Programming Considerations ODBC Driver for SQL Server oConn.Open "Driver={SQL Server};" & _ For Trusted Connection security: oConn.Open "Driver={SQL Server};" & _ ' or oConn.Open "Driver={SQL Server};" & _ To Prompt user for username and password oConn.Properties("Prompt") = adPromptAlways For more information, see: SQLDriverConnect (ODBC) ODBC Driver for Sybase oConn.Open "Driver={SYBASE SYSTEM 11};" & _ If using the Intersolv 3.10 Sybase ODBC Driver: oConn.Open "Driver={INTERSOLV 3.10 32-BIT Sybase};" & _ 上一篇:树型结构在ASP中的简单解决 下一篇:货币大写转换函数的更新 更多相关文章
|
推荐文章
精彩文章
|