Monday 4 June 2018

Create derby database under Net Beans IDE

Create derby database under Net Beans IDE

step1.click at window menu and then click at service option .
step2.click at the database option(at + sign).
step 3.right click at java DB option then click at create java DB Database option .
step 4.fill database Name and user name and password then click the OK button.
step 5.now right dbl click at new created database database auto connected your project.
 step 6. now click (+) sign at new created database
step 7.right click at tables option and then click at the create table option
step 8.fill the table name and then click at add column option 
step 9.fill name filed like (Id  and select their data type like integer and select constraints) and then click at OK button. you also create column( name varchar size(100),class varchar size (4),DOB varchar size(10),rollno varchar size(10).

0 comments:

Post a Comment