下列连接字符实现与SQL Server数据库的连接,( )是不正确的。A.Driver={SQL Server}; Server=localhost; Database=stuDB; Uid=; Pwd=;B.Provider=SQLOLEDB; Data Source=localhost; Database=stuDB; Uid=abc; Pwd=12;C.Data Source=.\\SQLEXPRESS; Database=SchoolDB; Uid=abc; Pwd=;D.Driver={SQL Server 2000}; Server=localhost; Database=stuDB; Uid=abc; Pwd=123;
下列连接字符实现与SQL Server数据库的连接,( )是不正确的。
A.Driver={SQL Server}; Server=localhost; Database=stuDB; Uid=; Pwd=;
B.Provider=SQLOLEDB; Data Source=localhost; Database=stuDB; Uid=abc; Pwd=12;
C.Data Source=.\\SQLEXPRESS; Database=SchoolDB; Uid=abc; Pwd=;
D.Driver={SQL Server 2000}; Server=localhost; Database=stuDB; Uid=abc; Pwd=123;
相关考题:
在连接对象的创建方法,正确的是( )。A conn=createobject("ADOBD.Connection")B conn=server.createobject("ADODB.Connection")C set conn=server.createobject(ADOBD.Connection)D set conn=server.createobject("ADODB.Connection")
注入语句:http://xxx.xxx.xxx/abc.asp?p=YY and user>0不仅可以判断服务器的后台数据库是否为SQL-SERVER,还可以得到()A、当前连接数据库的用户数据B、当前连接数据库的用户名C、当前连接数据库的用户口令D、当前连接的数据库名
下面是一段ASP程序,填空。 % ’创建连接对象 Set Session("conn") = Server.CreateObject("()") ’ 打开站点目录data子目录中的student.mdb的Access数据库 Session("conn").()= "Driver={Microsoft Access Driver (*.mdb)};DBQ=" Server. ()("./data/student.mdb") Session("conn").() ’ 打开连接对象 ...... ’该部分为执行代码 Session("conn").Close ’关闭数据连接对象 () ’释放连接对象 %
下列连接字符实现与SQL Server数据库的连接,()是不正确的A.Driver={SQL Server}; Server=localhost; Database=stuDB; Uid=; Pwd=;B.Provider=SQLOLEDB; Data Source=localhost; Database=stuDB; Uid=abc; Pwd=12;C.Data Source=.SQLEXPRESS; Database=SchoolDB;Uid=abc; Pwd=;D.Driver={SQL Server 2000}; Server=localhost; Database =stuDB; Uid=abc; Pwd=123;
下列连接字符实现与SQL Server数据库的连接,()是不正确的。A.Driver={SQL Server}; Server=localhost; Database=stuDB; Uid=; Pwd=;B.Provider=SQLOLEDB; Data Source=localhost; Database=stuDB; Uid=abc; Pwd=12;C.Data Source=.SQLEXPRESS; Database=SchoolDB;Uid=abc; Pwd=;D.Driver={SQL Server 2000}; Server=localhost; Database =stuDB; Uid=abc; Pwd=123;
19、下列连接字符实现与SQL Server数据库的连接,()是不正确的。A.Driver={SQL Server}; Server=localhost; Database=stuDB; Uid=; Pwd=;B.Provider=SQLOLEDB; Data Source=localhost; Database=stuDB; Uid=abc; Pwd=12;C.Data Source=.\\SQLEXPRESS; Database=SchoolDB;Uid=abc; Pwd=;D.Driver={SQL Server 2000}; Server=localhost; Database =stuDB; Uid=abc; Pwd=123;