Create a database and use Statement, Prepared Statement and Callable Statement.
JDBC PROGRAMMING
Create a database and use Statement, Prepared Statement and Callable Statement.
How to create database?
open teminal [here i am using ubuntu & Mysql server]
Write mysql -u root -p
Now create database
Code: Click Here
Prepared Statement:
Code: Click Here
Create a database and use Statement, Prepared Statement and Callable Statement.
How to create database?
open teminal [here i am using ubuntu & Mysql server]
Write mysql -u root -p
Now create database
- create databaseName;
- create tableName;
- insert into tableName(column 1,column 2,column 3,......)values(value 1, value 2, value 3.......);
Simple Statement:
Code: Click Here
Callable Statement:
Code: Click Here
Prepared Statement:
Code: Click Here
0 Comments