SQL Statements

Introduction

SQL statements are used to perform tasks such as update data on a database, or retrieve data from a database. This article describes different types of statements available in SQL.

Getting Started

SQL statements in SQL are broadly classified into three. They are

Data Definition Language(DDL)

Data Definition Language is a standard for commands that is used to define the structure that holds the data. For example, Create, Alter, Drop and Truncate table.

Data Manipulation Language(DML)

Data Manipulation Language is used for manipulation of the data itself. Typical operations are Insert, Delete, Update and retrieving the data from the table. Select statement is considered as a limited version of DML, since it can't change data in the database. But it can perform operations on data retrieved from DBMS, before the results are returned to the calling function.

Data Control Language(DCL)

Data Control Language is used to provide authorization to user for accessing data from database like, it sets privileges for creating database object like table creations, modification, delete data from table etc.

Summary

Hope you have got about difference SQL Statements and their use.

Thanks

Kailash Chandra Behera

An IT professional with over 13 years of experience in the full software development life cycle for Windows, services, and web-based applications using Microsoft .NET technologies. Demonstrated expertise in delivering all phases of project development—from initiation to closure—while aligning with business objectives to drive process improvements, competitive advantage, and measurable bottom-line gains. Proven ability to work independently and manage multiple projects successfully. Committed to the efficient and effective development of projects in fast-paced, deadline-driven environments. Skills: Proficient in designing and developing applications using various Microsoft technologies. Total IT Experience: 13+ years

Previous Post Next Post

نموذج الاتصال