How do I open and close a DB ?

How do I open and close a database ?How do I retrieve values from a database, is it retrieved by using sql statement ?Thank you
[155 byte] By [footprint] at [2007-9-26 10:01:44]
# 1

> How do I open and close a database ?

For a start have a look at the tutorials on this website or flick through a JDBC book. Sun's JDBC Tutorial and Reference 2nd ed. is pretty good.

http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

> How do I retrieve values from a database, is it

> retrieved by using sql statement ?

Yes, you talk the database with SQL

If you are still having problems, come back

Richard

Rijaos at 2007-7-1 21:52:02 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...