Jdbc tutorial for beginners

Database is required for saving the record so that I can use saved data further.This is simple jdbc program to teach you jdbc in very simple easy step by step approach. In this tutorial you will learn how to use jdbc to save or get the records. 1.First step is to Load the driver. Class.forName(“oracle.jdbc.driver.OracleDriver”); How to load the driver and…

Read More Read More

Difference between TRUNCATE, DELETE and DROP commands

TRUNCATE is a Data Definition Language command whereas DELETE is a Data M anipulatio Language command.  When compared with delete TRUNCATE is very fast. Because Step 1:When you perform DELETE all  data in table gets copied first in the  Tablespace with name Rollback.first  Then delete operation get performed. Benefit of delete is  after deleting the content of table if you try…

Read More Read More