I have created a user dsn named "harshi"
To insert rows in a table getting data from Java code I want to insert in SQL table.
The connection statement is:
String url = "jdbc:odbc:Harshi";
Connection conn = DriverManager.getConnection(url,"","");
Statement st = conn.createStatement();
Still I am getting output as:
Got an exception!
[Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.
How can I solve it?