How can test my FreeTDS JDBC Driver?

Rajkumar Seth offers the following: static void ftdsjdbc () { try { // use your hostname and port number here String url = "jdbc:freetds:sqlserver://nt1:1433/master"; String login = "sa"; // use your login here String password = "secret"; // use your password here if (false) { //Sybase url = "jdbc:freetds:sybase://unix1:4100/master"; login = "sa"; // use your login here password = "secret"; // use your password here } Class. ForName("com.internetcds.jdbc.tds. Driver"); //open a connection to the database Connection connection = DriverManager.

GetConnection(url, login, password); //to get the driver version DatabaseMetaData conMD = connection.getMetaData(); System.out. Println("Driver Name:\t" + conMD.getDriverName()); System.out. Println("Driver Version:\t" + conMD.

GetDriverVersion()); //create a statement Statement st = connection.createStatement(); //execute a query ResultSet rs = st. ExecuteQuery("SELECT * FROM master.dbo. Sysprocesses"); // read the data and put it to the console while ( ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions