mysql教程

超轻量级php框架startmvc

深入JDBC sqlserver连接写法的详解

更新时间:2020-04-21 00:29:32 作者:startmvc
SQLServer2000StringdriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver";StringdbURL="jdbc:microsoft:sqlserver://loc
SQL Server 2000

String driverName = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
String dbURL = "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=sample";

SQL Server 2005和SQL Server 2008

String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=sample";

JDBC sqlserver 连接