DDL--Data Definition Language
and Commands for DDL as:
1.CREATE DATABASE--create a new data base
2.ALTER DATABASE---modifies a database
3.CREATE TABLE---create a new table
4.ALTER TABLE---modifies a table
5.DROP TABLE---deletes a table
6.CREATE INDEX---creates an index(search key)
7.DROP INDEX---deletes an index
DML---Data Manipulation Language
Commands from the DML part of SQL:
1.SELECT----extracts data from a database
2.UPDATE--updates data in a database
3.DELETE---deletes data from a database
4.INSERT INTO---insert new data into a database
The basic difference between DDL and DML is the commands they provide . The dml (data manipulation language) provides statements to enter, update, delete and perform complex queries on these tables while the ddl(data description language) provides statement for the creation and deletion of tables, indexes, views etc.
The basic difference between DDL and DML is the commands they provide . The DDL provides statement for the creation and deletion of tables, indexes, views etc. while the DML provides statements to enter, update, delete and perform complex queries on these tables.
The differences between them you can get from, http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html
The DDL provides statement for the creation and deletion of tables, indexes, views etc. The DML provides statements to enter, update, delete and perform complex queries on these tables.
DML
ddl: data definition languagedml: data manipulation language
Details is discussed on http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html
DML(data manipulation language) provides statements to enter, update, delete and perform complex queries on these tables. DDL(Data definition language) provides statements for creation and deletion of tables, view, indexes etc.
Data Definition Lenguage (DDL) Data Manipulation Lenguage (DML) Data Dictionary
The Data Definition Language (DDL). This component of the SQL language is used to create and modify tables and other objects in the database. For tables there are three main commands:CREATE TABLE tablename to create a table in the databaseDROP TABLE tablename to remove a table from the databaseALTER TABLE tablename to add or remove columns from a table in the database.The Data Manipulation Language (DML) component of the SQL language is used to manipulate data within a table. There are four main commands:then,SELECT to select rows of data from a tableINSERT to insert rows of data into a tableUPDATE to change rows of data in a tableDELETE to remove rows of data from a table
Retrieving Data,Inserting Data,and Deleting Data.
Data manipulation language(DML) data Defenition language(DDL) data control Language(DCL) Transaction Control