Professional Documents
Culture Documents
Create Index, Drop Index Statements, Drop Table, Truncate Table, Alter Table, DESC Statement, Update and Delete Queries
Create Index, Drop Index Statements, Drop Table, Truncate Table, Alter Table, DESC Statement, Update and Delete Queries
06
Apparatus:
Hardware: Workstation (PC)
Software: Oracle Express Edition 11g
Procedure:
Turn on PC, Open the tool Oracle Express Edition 11g and start practice.
Safety precautions:
Procedure:
Turn on PC, Open the tool Oracle Express Edition 11g and start practice.
Safety precautions:
Stay away from electric equipment.
SQL commands:
Create a table .After entering the values in a table, Let the table is:
Create Index:
Drop Index:
Drop table:
The DROP table command deletes a table in the database.
Truncate a table:
The TRUNCATE table command deletes the data inside a table, but not the table itself.
Alter Table:
Desc statement:
Delete Queries:
Result:
Conclusion:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
____________________________________
Remarks:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
____________________________________
Experiment No. 07
Apparatus:
Hardware: Workstation (PC)
Software: Oracle Express Edition 11g
Procedure:
Turn on PC, Open the tool Oracle Express Edition 11g and start practice.
Safety precautions:
EXAMPLE:
In the query given above ID (INT) and salary (DECIMAL) are exact
Numeric Data types.
Name and address are of Character strings data type.
Cdate is included in date and time data types.
Conclusion:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
____________________________________
Remarks:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
____________________________________