SQL Statement Types:
1. DDL – Data Definition Language.
2. DML – Data Manipulation Language.
3. DCL – Data Control languages
DDL Statements:
• Create – it used create objects like Tables,Views and etc…
• Alter – It used to alter the Structure of the Obejects like Tables, Views and etc…
• Truncate – It removes all the records in table.
• Grant – Provides / Assigns Privileges
DML Statements:
• Select – Retrieve data from tables.
• Insert – It helps to insert data in to table.
• Update – It helps to Modify the Existing data in table.
• Delete – It helps to Remove data from table.
DCL Statements:
• Commit – It will ends the current Transaction & making the changes to permanent.
• Savepoint – It will identify a point or Num of transaction in Set of Transactions to which we can later roll back.
• Rollback- It will undo / remove all the changes made by Current transaction.
Sunday, May 5, 2013
SQL Statement Types
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment