Hi i have a database in SQL Server called MyDbase and has a table Users(username, password).

I want to connect trough JDBC..

What is the possible code?

i want to retrieve if a user is exist in my table Users.