1step is: getdriver
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
2 step is register the URL
Connection con=DriverManager.getConnection("jdbc

dbc

rajava ","scott","tiger");
3step is : create the statement
Statemnt st=con.createStatement();
4 step is: Execute the Query and get the results from resultset
4 step is: close the all connections
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!