Cs8481 Data Base Management System
Cs8481 Data Base Management System
LAB MANUAL
Regulation : 2017
1
CS8481-DATABASE MANAGEMENT SYSTEM
REGULATION -2017
CS 8481 – DATABASE MANAGEMENT SYSTEMS LABORATORY
LIST OF EXPERIMENTS:
2. Database Querying – Simple queries, Nested queries, Sub queries and Joins
6. Triggers
7. Exception Handling
application
TOTAL: 60 PERIODS
2
CS8481-DATABASE MANAGEMENT SYSTEM
INDEX
SIGNATURE
S.NO DATE NAME OF THE EXPERIMENTS OF THE REMARKS
STAFF
2 DATABASE QUERING
3 VIEWS,SWQUENCES,SYNONYMS
6 TRIGGERS
7 EXCEPTION HANDLING
8 ER MODELING
3
CS8481-DATABASE MANAGEMENT SYSTEM
OVERVIEW OF DBMS
DATA TYPES
The following table contains some of the data types that are frequently used.
Varchar(size) : Holds a varying length of string (can contains letters, numbers and special
characters)
Char(size) : Holds a fixed length of string (can contains letters, numbers and special
characters)
DDL COMMANDS
1. The Create Table Command: - it defines each column of the table uniquely. Each
column has minimum of three attributes, a name , data type and size.
Syntax:
Create table <table name> (<col1> <datatype>(<size>),<col2> <datatype><size>));
Ex:create table emp(empno number(4) primary key, ename char(10));
4
CS8481-DATABASE MANAGEMENT SYSTEM
7. Destroying tables.
Syntax:
Drop table <tablename>;
Ex:drop table emp;
5
CS8481-DATABASE MANAGEMENT SYSTEM
DML COMMANDS
DML commands are the most frequently used SQL commands and is used to
query and manipulate the existing database objects. Some of the commands are Insert,
Select, Update, Delete.
Insert Command This is used to add one or more rows to a table. The values are
separated by commas and the data types char and date are enclosed in apostrophes. The
values must be entered in the same order as they are defined. Select Commands It is used
to retrieve information from the table. It is generally referred to as querying the table. We
can either display all columns in a table or only specify column from the table.
Update Command It is used to alter the column values in a table. A single column
may be updated or more than one column could be updated.
Delete command After inserting row in a table we can also delete them if required.
The delete command consists of a from clause followed by an optional where clause.
DCL COMMANDS
The DCL language is used for controlling the access to the table and hence
securing the database. DCL is used to provide certain privileges to a particular user.
Privileges are rights to be allocated. The privilege commands are namely, Grant and
Revoke. The various privileges that can be granted or revoked are, Select Insert Delete
Update References Execute All.
GRANT COMMAND:
6
CS8481-DATABASE MANAGEMENT SYSTEM
REVOKE COMMAND:
Using this command , the DBA can revoke the granted database
privileges from the user.
TCL COMMAND
7
CS8481-DATABASE MANAGEMENT SYSTEM
EX NO: 1
DATE:
AIM:
ALGORITHM:
PROGRAM:
1. CREATE
2. ALTER
3. DROP
4. TRUNCATE
5. COMMENT
6. RENAME
8
CS8481-DATABASE MANAGEMENT SYSTEM
Table created.
EMPNO NUMBER(4)
ENAME VARCHAR2(10)
DESIGNATIN VARCHAR2(10)
SALARY NUMBER(8,2)
Table altered.
EMPNO NUMBER(6)
ENAME VARCHAR2(10)
DESIGNATIN VARCHAR2(10)
SALARY NUMBER(8,2)
Table altered.
9
CS8481-DATABASE MANAGEMENT SYSTEM
EMPNO NUMBER(6)
ENAME VARCHAR2(10)
DESIGNATIN VARCHAR2(10)
SALARY NUMBER(8,2)
QUALIFICATION VARCHAR2(6);
Table altered.
Table altered.
Table altered
Table altered
10
CS8481-DATABASE MANAGEMENT SYSTEM
1. SELECT
2. INSERT
3. DELETE
4. UPDATE
1 row created.
1 row created.
11
CS8481-DATABASE MANAGEMENT SYSTEM
1 row updated.
1 row deleted.
RESULT:
12
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES:
Name Type
EMPNO NUMBER(6)
ENAME VARCHAR2(20)
JOB VARCHAR2(10)
DEPTNO NUMBER(3)
SAL NUMBER(7,2)
2. Add a column experience to the emp table. experience numeric null allowed.
Name Type
---------- ------------
DEPTNO NUMBER(2)
DNAME VARCHAR2(10)
LOC VARCHAR2(10)
13
CS8481-DATABASE MANAGEMENT SYSTEM
VIVA QUESTIONS:
9. In context of DBMS and its utilizing programs how you can explain the difference
14
CS8481-DATABASE MANAGEMENT SYSTEM
EX NO: 2
DATE:
DATABASE QUERYING
AIM:
To create a database using Nested Queries, Sub Queries and different joins.
ALGORITHM:
Step 1: Create a table using sql query
Step 3: To get related data from different tables use joins Query
PROGRAM:
SQL> CREATE TABLE CUSTOMERS (ID INT NOT NULL, NAME VARCHAR
(20) NOT NULL, AGE INT NOT NULL, ADDRESS CHAR (25), SALARY
DECIMAL (18, 2), PRIMARY KEY (ID));
15
CS8481-DATABASE MANAGEMENT SYSTEM
1. Sub Queries:
16
CS8481-DATABASE MANAGEMENT SYSTEM
4. Joins:
Table 1 − CUSTOMERS Table
INNER JOIN
17
CS8481-DATABASE MANAGEMENT SYSTEM
LEFT JOIN
SQL> SELECT ID, NAME, AMOUNT, DATE FROM CUSTOMERS
LEFT JOIN ORDERS ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;
ID | NAME | AMOUNT | DATE |
+--+---------- +-------------- +--------------------- +
| 1 | Ramesh | NULL | NULL |
| 2 | Khilan |1560 | 2009-11-20 00:00:00 |
| 3 | kaushik |3000 | 2009-10-08 00:00:00 |
| 3 | kaushik |1500 | 2009-10-08 00:00:00 |
| 4 | Chaitali |2060 | 2008-05-20 00:00:00 |
| 5| Hardik |NULL | NULL |
| 6| Komal |NULL | NULL |
| 7| Muffy |NULL | NULL
RIGHT JOIN:
SQL> SELECT ID, NAME, AMOUNT, DATE FROM CUSTOMERS
RIGHT JOIN ORDER ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;
ID | NAME | AMOUNT | DATE |
+------ +----------+--------------+---------------------- +
|3 | kaushik | 3000 | 2009-10-08 00:00:00 |
|3 | kaushik | 1500 | 2009-10-08 00:00:00 |
|2 | Khilan | 1560 | 2009-11-20 00:00:00 |
|4 | Chaitali | 2060 | 2008-05-20 00:00:00
FULL JOINS:
SQL> SELECT ID, NAME, AMOUNT, DATE FROM CUSTOMERS
FULL JOIN ORDERS ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;
ID | NAME | AMOUNT | DATE |
+------ +---------- +---------------------+-------------------
|1 | Ramesh | NULL | NULL |
|2 | Khilan | 1560 | 2009-11-20 00:00:00 |
|3 | kaushik | 3000 | 2009-10-08 00:00:00 |
|3 | kaushik | 1500 | 2009-10-08 00:00:00 |
|4 | Chaitali | 2060 | 2008-05-20 00:00:00 |
|5 | Hardi k | NULL | NULL |
|6 | Komal | NULL | NULL |
|7 | Muffy | NULL | NULL |
|3 | kaushik | 3000 | 2009-10-08 00:00:00 |
|3 | kaushik | 1500 | 2009-10-08 00:00:00 |
|2 | Khilan | 1560 | 2009-11-20 00:00:00 |
|4 | Chaitali | 2060 | 2008-05-20 00:00:0
18
CS8481-DATABASE MANAGEMENT SYSTEM
SELF JOINS:
SQL> SELECT a.ID, b.NAME, a.SALARY FROM CUSTOMERS a,
CUSTOMERS b WHERE a.SALARY < b.SALARY;
ID | NAME | SALARY |
+----+----------+---------+
| 2 | Ramesh |1500.00 |
| 2| kaushik |1500.00 |
| 1| Chaitali | 2000.00 |
| 2| Chaitali |1500.00 |
|3| Chaitali |2000.00 |
|6| Chaitali | 4500.00 |
| 1 | Hardik | 2000.00 |
| 2 | Hardik | 1500.00 |
| 3 | Hardik | 2000.00 |
| 4 | Hardik | 6500.00 |
| 6 | Hardik | 4500.00 |
| 1 | Komal | 2000.00 |
| 2 | Komal | 1500.00 |
| 3 | Komal | 2000.00 |
| 1 | Muffy | 2000.00 |
| 2 | Muffy | 1500.00 |
| 3 | Muffy | 2000.00 |
| 4 | Muffy | 6500.00 |
|5 | Muffy | 8500.00 |
|6 | Muffy | 4500.00 |
RESULT:
The database was created for relating between databases using the joins and sub
queries.
19
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES:
1.Display the employee details, departments that the departments are same in both the
2.Display the employee details, departments that the departments are not same in both the
3.Display the Student name and grade by implementing a left outer join.
4.Display the Student name, register no, and result by implementing a right outer join.
7 .Display the details of those who draw the salary greater than the average salary.
8.Display the details of library management system by implementing the inner and outer
join
9.Display the details of hospital management system by implementing inner join right
outer join
10.Display the details of Hotel management system by implementing left outer join, Inner
join.
20
CS8481-DATABASE MANAGEMENT SYSTEM
VIVA QUESTIONS:
2.Are the resulting relations of PRODUCT and JOIN operation the same?
21
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:3
DATE:
VIEWS,SEQUENCES,SYNONYMS
AIM:
To create a database using Views.
ALGORITHM:
PROGRAM:
6 rows selected.
22
CS8481-DATABASE MANAGEMENT SYSTEM
EMPNO PH_NO
-------- --------
3737 225301
4545 485565
6544 789663
7575 896652
6555 987777
CREATE VIEW
View created from more than one table leading to ‘Read Only’ view.
2 select emp.ename,empp.ph_no
3 from emp,empp
4 where emp.empno=empp.empno;
View created.
ENAME PH_NO
------------ ------
Priya 225301
priya 485565
santh 789663
Karthi 896652
23
CS8481-DATABASE MANAGEMENT SYSTEM
SEQUENCES
Syntax: Sequence.NEXTVAL
Sequence.CURRVAL
INCREMENT BY 1
START WITH 1
NOMAXVALUE
NOCYCLE
CACHE 10;
INCREMENT BY 10
MAXVALUE 10000
CYCLE
CACHE 20;
24
CS8481-DATABASE MANAGEMENT SYSTEM
SYNONYMS
Creating Synonyms
DROPPING SYNONYMS
RESULT:
The employee database was created and viewed using the various commands.
25
CS8481-DATABASE MANAGEMENT SYSTEM
QUERIES:
1. The organization wants to display only the details of the employees those who are
2. The organization wants to display only the details like empno, empname, deptno,
7. Create View from single relation known as ‘Updatable’ view for hospital
management
8. Update View only on the updatable views for student mark list.
26
CS8481-DATABASE MANAGEMENT SYSTEM
VIVA QUESTIONS:
A VIEW in SQL is created by joining one or more tables. When you update
record(s) in a view, it updates the records in the underlying tables that make up the SQL
View. So, yes, you can update the data in a SQL VIEW providing you have the proper
privileges to the underlying SQL tables.
2.Does the SQL View exist if the table is dropped from the database?
Yes, in Oracle, the SQL VIEW continues to exist even after one of the tables (that
the SQL VIEW is based on) is dropped from the database. However, if you try to query
the SQL VIEW after the table has been dropped, you will receive a message indicating
that the SQL VIEW has errors. If you recreate the table (the table that you had dropped),
the SQL VIEW will again be fine.
27
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:4
DATE:
ALGORITHM:
Step 1: Start a program
The following program will update the table and increase the salary of each customer by
500 and use the SQL%ROWCOUNT attribute to determine the number of rows affected.
DECLARE
total_rows number(2);
BEGIN
UPDATE customers
28
CS8481-DATABASE MANAGEMENT SYSTEM
IF sql%notfound THEN
total_rows := sql%rowcount;
END IF;
END;
4 customers selected
If you check the records in customers table, we will find that the rows have been updated
−
Select * from customers;
29
CS8481-DATABASE MANAGEMENT SYSTEM
DECLARE
c_id customers.id%type;
c_name customerS.No.ame%type;
c_addr customers.address%type;
CURSOR c_customers is
SELECT id, name, address FROM customers;
BEGIN
OPEN c_customers;
LOOP
FETCH c_customers into c_id, c_name, c_addr;
EXIT WHEN c_customers%notfound;
1 Ramesh Ahmedabad
2 Khilan Delhi
3 kaushik Kolkata
4 Komal Mumbai
RESULT;
Thus the Databse program using implicit and explicit cursor has been created and
executed successfully.
30
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES
3.Write a program that shows the usage of WHILE loop to calculate the average of user
entered numbers and entry of more numbers are stopped by entering number 0?
VIVA QUESTIONS:
1.What is PL SQL ?
31
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:5
DATE:
AIM:
ALGORITHM:
101 priya 78 88 77 60 89
102 karthi 99 77 69 81 99
103 karthipriya 100 90 97 89 91
32
CS8481-DATABASE MANAGEMENT SYSTEM
Creation of Procedures
RESULT:
33
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES:
1. Write a procedure to add an amount of Rs.1000 for the employees whose salaries
is greater than 5000 and who belongs to the deptno passed as an argument?
2. Write a PL/SQL block to update the salary of the employee with a 10% increase
3. Write a procedure to find the salary of the employee who is working in the deptno
4. Write a procedure to find the nature of job of the employee whose deptno is 20(to
be passed as an argument) ?
5. Write a PL/SQL block to obtain the department name of the employee who Works
not?
7. Writing PL/SQL block for checking whether given number is prime or not?
9. Writing PL/SQL block for checking whether given number is prime or not?
10. Write a PL/SQL program that check whether given year is leap year or not?
34
CS8481-DATABASE MANAGEMENT SYSTEM
VIVA QUESTIONS:
35
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:6
DATE:
TRIGGERS
AIM:
To write a PL/SQL query to create triggers..
ALGORITHM:
36
CS8481-DATABASE MANAGEMENT SYSTEM
phonebook
4 where phone_no=phone;
5 return address;
6 exceptions
8 end;
9 /
Function created.
SQL> declare
3 begin
4 address:=find address(25301);
5 dbms_output.put_line (address);
6 end;
37
CS8481-DATABASE MANAGEMENT SYSTEM
SQL> declare
2 address varchar2(100);
3 begin
4 address:=findaddress(25601);
5 dbms_output.put_line(address);
6 end;
RESULT:
Thus the program for creation of triggers and functions is executed successfully.
38
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES:
1. Write a pl/sql function to swap two numbers without taking third variable?
4. Write a pl/sql function to find the total and average of 6 subjects and display the
grade?
7. Write a pl/sql function to check whether the given number is prime or not?
9. Write a function to find the salary of the employee who is working in the deptno
10. Write a TRIGGER to ensure that DEPT TABLE does not contain duplicate of null
11. Write a pl/sql code block to calculate the area of a circle for a value of radius
varying from 3 to 7.Store the radius and the corresponding values of calculated
area in an empty table named areas, consisting of two columns radius & area?
12. Write a pl/sql code block that will accept an account number from the user, check
if the users balance is less than minimum balance, only then deduct rs.100/- from
39
CS8481-DATABASE MANAGEMENT SYSTEM
VIVA QUESTIONS:
1. Define Triggers.
2. What are triggers? How many triggers you can have on a table? How to invoke a
trigger on demand?
40
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:7
DATE:
EXCEPTION HANDLING
AIM:
To Write a PL/SQL Block for handling all types of Exceptions
ALGORITHM:
PROGRAM:
DECLARE
c_id customers.id%type:=8;
c_name customers.name%type;
c_addr customers.address%type;
BEGIN
DBMS_OUTPUT.PUT_LINE(‘Address:’|| c_addr);
EXCEPTION
WHEN no_data_found THEN
dbms_output.put_line(“no such customer!”);
WHEN others THEN
dbms_output.put_line(“Errror!”);
END;
41
CS8481-DATABASE MANAGEMENT SYSTEM
OUTPUT:
No such customer
NOTE:
The above program displays the name and address of a customer whose ID is given.
Since there is no customer with ID value 8 in our database, the program raises the run-
time exception. NO_DATA_FOUND, which is captured in EXCEPTION block
RESULT:
Thus the program for PL/SQL block that handles all types of exception is
successfully executed.
42
CS8481-DATABASE MANAGEMENT SYSTEM
PRACTICE EXERCISES:
2. General PL/SQL statements can be used in the Exception Block for employee
database
7. Write a PL/SQL program that use conditional statements and arise exceptions?
VIVA QUESTIONS:
43
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:8
DATE:
ER MODELING
ER DIAGRAM:
Chen Notation
Order OrderItems
-OrderNum(id) 1 has
N -ItemNum(id)
-OrderDate items -PartNum
-SalesPerson -Quality
-Cost
Customer Order
-CustomerID(id) 1 N -OrderNum(id)
places
-Name -Orderdate
-Address -Salesperson
-..
Representing Relationships
• 1:1 Relationships. The key of one relation is stored in the second relation. Look at
• 1:N Relationships.
Parent - Relation on the "1" side. Child - Relation on the "Many" side.
44
CS8481-DATABASE MANAGEMENT SYSTEM
in relations.
• Solution: Introduce a third Intersection relation and copy keys from original two
relations.
Chen Notation
Supplier Component
N M
-SupplierID(id) supplies
-CompID(id)
-FirmName -Description
-Address -…
-…
•Note that this can also be shown in the ER diagram. Also, look for potential added
attributes in the intersection relation.
RESULT:
Thus the ER Database design using E-R model and Normalization was
implemented successfully.
45
CS8481-DATABASE MANAGEMENT SYSTEM
EX.NO:9
DATE:
AIM:
To Design and Implement Database Connectivity.
ALGORITHM:
46
CS8481-DATABASE MANAGEMENT SYSTEM
47
CS8481-DATABASE MANAGEMENT SYSTEM
DATABASE IN MS ACCESS
48
CS8481-DATABASE MANAGEMENT SYSTEM
49
CS8481-DATABASE MANAGEMENT SYSTEM
50
CS8481-DATABASE MANAGEMENT SYSTEM
CODING:
Dim db As Database
Dim rs As Recordset
Private Sub cmdADD_Click()
rs.AddNew
DtPickerDOJ.Enabled = True
txtEmpID.Enabled = True
txtFirstName.Enabled = True
txtLastName.Enabled = True
txtAddress.Enabled = True
txtDOJ.Enabled = True
txtSalary.Enabled = True
txtEmpID.SetFocus
txtEmpID.Text = ""
txtFirstName.Text = ""
txtLastName.Text = ""
txtAddress.Text = ""
txtDOJ.Text = Date
txtSalary.Text = ""
txtHRA.Text = ""
txtDA.Text = ""
txtTA.Text = ""
txtPF.Text = ""
txtGrossPay.Text = ""
txtNetPay.Text = ""
cmdEdit.Enabled = False
51
CS8481-DATABASE MANAGEMENT SYSTEM
cmdSubmit.Enabled = False
cmdCalculate.Enabled = False
End Sub
Else
txtHRA.Text = 0.15 * Val(txtSalary.Text)
txtDA.Text = 0.17 * Val(txtSalary.Text)
txtTA.Text = 0.13 * Val(txtSalary.Text)
txtPF.Text = 0.05 * Val(txtSalary.Text)
txtGrossPay.Text = Val(txtHRA.Text) + Val(txtDA.Text) + Val(txtTA.Text) +
Val(txtSalary.Text)
txtNetPay.Text = Val(txtGrossPay.Text) - Val(txtPF.Text)
cmdSubmit.Enabled = True
cmdADD.Enabled = False
End If
End Sub
52
CS8481-DATABASE MANAGEMENT SYSTEM
53
CS8481-DATABASE MANAGEMENT SYSTEM
rs("DA") = txtDA.Text
rs("TA") = txtTA.Text
rs("PF") = txtPF.Text
rs("GROSSPAY") = txtGrossPay.Text
rs("NETPAY") = txtNetPay.Text
End Sub
54
CS8481-DATABASE MANAGEMENT SYSTEM
cmdPrev.Enabled = True
cmdNext.Enabled = False
cmdLast.Enabled = False
cmdEdit.Enabled = True
GetData
End Sub
55
CS8481-DATABASE MANAGEMENT SYSTEM
56
CS8481-DATABASE MANAGEMENT SYSTEM
rs("DATEOFJOINING") = txtDOJ.Text
rs("SALARY") = txtSalary.Text
rs("HRA") = txtHRA.Text
rs("DA") = txtDA.Text
rs("TA") = txtTA.Text
rs("PF") = txtPF.Text
rs("GROSSPAY") = txtGrossPay.Text
rs("NETPAY") = txtNetPay.Text
If txtLastName.Text <> "" And txtFirstName.Text <> "" And txtAddress.Text <> "" And
txtDOJ.Text <> "" And txtSalary.Text <> "" Then
On Error GoTo ErrHandler
rs.Update
MsgBox "RECORD SUBMITTED SUCCESSFULLY", vbInformation, "Employees
Project"
ClearALL
DisableFields
cmdEdit.Enabled = False
Else
errhandler2:
MsgBox "FIELDS CANNOT BE BLANK OR CLICK CALCULATE TO CALCULATE
THE GROSS AND NET VALUES", vbCritical, "Employees Project"
End If
Exit Sub
ErrHandler:
MsgBox "EMPLOYEE ID ALREADY EXISTS", vbCritical, "Employees Project"
End Sub
Private Sub DtPickerDOJ_Change()
txtDOJ.Text = DtPickerDOJ.Value
57
CS8481-DATABASE MANAGEMENT SYSTEM
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("C:\DBFiles\EMP_DB.mdb", opendynaset)
Set rs = db.OpenRecordset("Employees")
GetData
End Sub
58
CS8481-DATABASE MANAGEMENT SYSTEM
txtFirstName.Text = rs("FIRSTNAME")
txtLastName.Text = rs("LASTNAME")
txtAddress.Text = rs("ADDRESS")
txtDOJ.Text = rs("DATEOFJOINING")
txtSalary.Text = rs("SALARY")
txtHRA.Text = rs("HRA")
59
CS8481-DATABASE MANAGEMENT SYSTEM
txtDA.Text = rs("DA")
txtTA.Text = rs("TA")
txtPF.Text = rs("PF")
txtGrossPay.Text = rs("GROSSPAY")
txtNetPay.Text = rs("NETPAY")
txtEmpID.Enabled = False
txtFirstName.Enabled = False
txtLastName.Enabled = False
txtAddress.Enabled = False
txtDOJ.Enabled = False
txtSalary.Enabled = False
txtHRA.Enabled = False
txtDA.Enabled = False
txtTA.Enabled = False
txtPF.Enabled = False
txtGrossPay.Enabled = False
txtNetPay.Enabled = False
cmdSubmit.Enabled = False
cmdCalculate.Enabled = False
DtPickerDOJ.Enabled = False
Else
txtEmpID.Enabled = False
txtFirstName.Enabled = False
txtLastName.Enabled = False
txtAddress.Enabled = False
60
CS8481-DATABASE MANAGEMENT SYSTEM
txtDOJ.Enabled = False
txtSalary.Enabled = False
txtHRA.Enabled = False
txtDA.Enabled = False
txtTA.Enabled = False
txtPF.Enabled = False
txtGrossPay.Enabled = False
txtNetPay.Enabled = False
cmdSubmit.Enabled = False
cmdCalculate.Enabled = False
End If
End Sub
61
CS8481-DATABASE MANAGEMENT SYSTEM
RESULT:
Thus the design and implementation of payroll processing system using SQL, VB
was successfully done.
62