import java.sql.* ;
import javax.sql.*;
("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();???
String url="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=pubs";
String user="sa";
String password="123456";
Connection conn= DriverManager.getConnection(url,user,password);