GeekInterview.com
Series: Subject: Topic:
Question: 89 of 89

What is DDL, DML?

Asked by: Interview Candidate | Asked on: Jun 1st, 2005
Showing Answers 1 - 20 of 20 Answers
arun

Answered On : May 31st, 2005

Thank for your work

  
Login to rate this answer.
sangeeta

Answered On : Jun 1st, 2005

ddl-data defination language  
create ,alter,drop 
dml-data manipulation language 
insert,update, delete,select

  
Login to rate this answer.
Ravi Prakash Pichika

Answered On : Jun 20th, 2005

The SQL sentences that are used to create objects are called DDL's or Data Definition Language. 
 
The SQL sentences used to manipulate data within these objects are called DML's Data Manipulation Language. 

Yes  1 User has rated as useful.
  
Login to rate this answer.
Hemanth

Answered On : Sep 14th, 2005

Data Definition Language..

   ->  Create Command, Drop Command, Alter Command and Truncate Command

Data Manipulation Language..

   ->  Insert Command,Delete Command, Update Command

  
Login to rate this answer.
bhawesh

Answered On : Feb 21st, 2006

ddl cmd are to define structure of a database object (like: table).

DDL->data defination language.

eg: Creating a new table.

      Droping a table,Altering its structure

dml cmds are usd to work on data stored in table

DML-> data manipulation language

eg: updating existing record.

      deleting and inserting records and so on....

     

  
Login to rate this answer.
Biplab Kabi

Answered On : Mar 23rd, 2006

DDL is Data Definition Language statements. Some examples: CREATE - to create objects in the database ALTER - alters the structure of the database DROP - delete objects from the database TRUNCATE - remove all records from a table, including all spaces allocated for the records are removed COMMENT - add comments to the data dictionary GRANT - gives user's access privileges to database REVOKE - withdraw access privileges given with the GRANT command DML is Data Manipulation Language statements. Some examples: SELECT - retrieve data from the a database INSERT - insert data into a table UPDATE - updates existing data within a table DELETE - deletes all records from a table, the space for the records remain CALL - call a PL/SQL or Java subprogram EXPLAIN PLAN - explain access path to data LOCK TABLE - control concurrency

  
Login to rate this answer.
Ashfaq

Answered On : Apr 9th, 2006

 DDL :- This is the language provided by Oracle ( Data defination Language )

its having four commands

 Create , Alter , Delete , Truncate

DML :- Data manuplation language (DML)

 Insert , Update , Delete , select

                                      thanks

  
Login to rate this answer.
Ashfaq

Answered On : Apr 9th, 2006

 DDL :- This is the language provided by Oracle ( Data defination Language )

its having four commands

 Create , Alter , drop , Truncate

DML :- Data manuplation language (DML)

 Insert , Update , Delete , select

                                      thanks

  
Login to rate this answer.
vaishali

Answered On : Apr 17th, 2006

ddl means data definatination language. in which create table table name is included.while

dml means data manipulation language in which select is included.

  
Login to rate this answer.
Raj Kumar Singh

Answered On : May 1st, 2006

Hi

Friends

  DDl is a data definition language.DDL Define the data Structure and what are the size of actual data.

The following perform by DDL

  1. Create
  2. Alter table
  3. Drop Table

DML works are.

  1. Select
  2. update
  3. insert into
  4. delete

  
Login to rate this answer.
cmanne

Answered On : Mar 25th, 2007

View all answers by cmanne

DDL: CREATE, ALTER, TRUNCATE
DML: INSERT, UPDATE,DELETE and DROP

  
Login to rate this answer.
Mohammed Abdul Afroze

Answered On : Sep 20th, 2007

DDL is Data Definition Language.

DDL-Create, Alter, Drop.

DML is a Data Manipulation Language.

DML-Insert, Update, Delete.

Yes  1 User has rated as useful.
  
Login to rate this answer.
oozaifa

Answered On : Nov 18th, 2008

View all answers by oozaifa

DDL is data defination languages
DML is data manipulation languages

  
Login to rate this answer.
impalor

Answered On : Dec 9th, 2008

View all answers by impalor

DDL=Data Definition Language (Create,Alter,Drop)
DML=Data Manipulation Language(Insert,Update,Merge)

  
Login to rate this answer.
junaid badar

Answered On : Dec 12th, 2009

View all answers by junaid badar

In DDL  we can change the structure of the table using ALTER, DROP commands and in DML we can maniputlate data in the table using INSERT, SELECT, DELETE etc.

  
Login to rate this answer.
tigerkraka

Answered On : Jul 22nd, 2010

View all answers by tigerkraka

DDL = Data Definition Language
DML = Data Manipulation Language

  
Login to rate this answer.
dineshctbm

Answered On : Jul 2nd, 2011

View all answers by dineshctbm

DDL - Data Defination Language

DML - Data Manipulation Language

  
Login to rate this answer.
latif Zafarzai

Answered On : Aug 16th, 2011

Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:
o CREATE - to create objects in the database
o ALTER - alters the structure of the database
o DROP - delete objects from the database
o TRUNCATE - remove all records from a table, including all spaces allocated for the records are removed
o COMMENT - add comments to the data dictionary
o RENAME - rename an object

  
Login to rate this answer.
Venki

Answered On : Dec 19th, 2011

DDL means "Data Definition Language". SELECT, UPDATE, INSERT belong to DML, which is "Data Modification Language". DDL is all the other commands -- for example, CREATE TABLE.

  
Login to rate this answer.
SHIMAR

Answered On : Apr 16th, 2012

DDL is used to create, alter and truncate
DML is used to insert, update, delete and drop

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.