SQL Server - DDL Commands - DotNet and DataBase

Follow us on Facebook

SQL Server Mountain View Mountain View Mountain View

Saturday, 28 July 2018

SQL Server - DDL Commands

Data Definition Language (DDL):

DDL stands for Data Definition Language. DDL commands are used to create database objects like Database, Tables, Procedures, and Views etc., and its objects and modify the structure of database objects.

DDL Commands

CREATE Creates objects (Tables, Procedures and Views etc.) in the database.

ALTERChanges the structure of objects of the database.

DROPDeletes objects of the database

TRUNCATE Deletes all records from a table and resets table identity to initial value.

COMMENTSis used to add comments to the data dictionary.

No comments:

Post a comment


Get Updates On

Discussion updates

Straight Into Your INBOX!

Enter your email address to subscribe to this website and receive notifications of new posts by email.