answersLogoWhite

0

Define DDL and DML

Updated: 8/11/2023
User Avatar

Wiki User

12y ago

Best Answer

SQL

These are the main categories are

DDL(Data Definition Language)

DML ( Data Manipulation Language)

DQL( Data Query Language)

DCL( Data control Language)

Data administration commands

Transactional control command.

ddl includes insert ,delete ,update values

it include select statements,

it include insert statement,

it includes drop statements

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

DDL means - Data Definition Language, which helps in defining the structure of the database, alter its structure and also data types of the data elements. This will not deal with the data values(data items) or the records inserted in the database.

DML means - Data Manipulation Language, which helps in dealing with making the changes to the records present in the database.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

DDL:- Data Definition Language. It is a set of SQL commands used to create, modify & delete database structure or schema. e.g.

*create:- used to create object in database.

*alter:- used to alter or change the structure of database.

*drop:- used for deleting the objects from database.

*truncate:- used to remove all records from the database.

*comment:- add comment to data dictionary.

*rename:- used for renaming an object.

DML:- Data manipulation language. It is used for managing data within schama objects.It allows changing data within the database. e.g.

*select:- used to retrieve data from database

*insert:- used to add record into the table

*update:- used to update or change the data within the database.

*delete:-used to delete all record from a table, the space for record remains.

*merge:- used to upsert operation(upsert means insert or update)

*call:- used to call a PL/SQL or java subprogram.

*explain plan:- used to explain access path to data.

*lock table:- it is used to control the concurrency.

DCL:- Data control language. that control access to data & to the database.Occassionaly DCL statements are grouped with DML statements. e.g.

*grant:- it is used to give user's access rights to the database.

* revoke:- it is used to withdraw access rights given with the grant command.

DQL:- Data Query Language.It allows getting data from the database & impossing ordering upon it. It includes select statements.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Define DDL and DML
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which is fastest command dcl dml tcl ddl?

DML


What difference between dml and ddl?

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.


What is the full form of ddl and dml?

ddl: data definition languagedml: data manipulation language


Difference between DDl DMl statement explain how savepoint work?

The differences between them you can get from, http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html


Full meaning of the acronyms dml and ddl state difference within the two?

Details is discussed on http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html


What are the sql commands with dml and ddl?

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.


What are the difference between ddl and dml commands?

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.


Difference between ddl and dml?

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.


What is the Componentes of dbms?

Data Definition Lenguage (DDL) Data Manipulation Lenguage (DML) Data Dictionary


What three language were adopted by the DBTG?

Data Manipulation Language (DML) and a Data Definition Language (DDL)and data control language(DCL)


What are the elements of SQL?

Data manipulation language(DML) data Defenition language(DDL) data control Language(DCL) Transaction Control


SQL statements that define the tables in a database are referred to as?

DDL Statments