ITEC36 FINALS Flashcards
It is a computer language for storing, manipulating and retrieving data stored in a relational database.
SQL
It the standard language for Relational Database System.
SQL
It consists of the SQL commands that can be used to define the database schema.
DDL or Data Manipulation Language
Creates a new table, a view of a table, or other object in the database.
Create
Modifies an existing database object, such as a table.
Alter
Deletes an entire table, a view of a table or other objects in the database.
Drop
It deals with the manipulation of data present in the database.
DML or Data Manipulation Language
Retrieves certain records from one or more tables.
Select
Creates a record.
Insert
Modifies records.
Update
Delete records.
Delete
It deals with the rights, permissions and other controls of the database system.
DCL or Data Control Language
Gives a privilege to user.
Grant
Takes back privileges granted from user.
Revoke
It deals with the transaction within the database.
TCL or Transaction Control Language
commits a Transaction.
Commit
rollbacks a transaction in case of any error occurs.
Rollback
sets a savepoint within a transaction.
Savepoint
specify characteristics for the transaction.
Set Transaction
It is an attribute that specifies the type of data of any object.
Data type
Specifies character type data of length n where n could be any value from 0 to 255.
CHAR (n)
Specifies character type data of length ‘n’ where n could be any value from 0 to 65535
VARCHAR (n)