I am trying to connect to SQL Server 2008 server from Java
here is a program
import java.sql.*; public class connectURL { public static void m
I thing the connection URL may be wrong. Then try following connection,
String Connectionurl="jdbc:sqlserver://localhost:1433;DatabaseName=YourDBName;user=UserName;Password=YourPassword"