I'm trying to connect sql server 2008 with java and I tired to read from microsft documentation and other internet sites to do it and always get an mistake. I used sqljdb, sqljdb4, sqljdb4.1 and any
the most simple codec is:
public static void main(String[] args) throws SQLException{
try {
String connectionUrl = "jdbc:sqlserver://localhost.\\SQLEXPRESS:1433;" +
"databaseName=hackeadorazodb;user=hacker;password=;integratedSecurity=true";
Connection con = DriverManager.getConnection(connectionUrl);
if(con != null){
&nb ...
Go to the complete details ...