Do not access SQL Server via DSN

zhaozj2021-02-11  202

Do not access SQL Server via DSN

In the connection string, add the server and database driver:

DIM ConnSet conn = server.createObject ("adodb.connection") conn.connectionstring = "driver = {SQL Server};" Server = YourServer; UID = SA; PWD = PWD; Database = PUBS "conn.openset cmd = server. CreateObject ("AdoDb.command") Set cmd.activeConnection = conn

转载请注明原文地址:https://www.9cbs.com/read-4161.html

New Post(0)