Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is DDL and DML?

Answer Posted / mobin mohan

Data Definition Language (DDL) statements are used to define the database structure or schema.
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
RENAME - rename an object


Data Manipulation Language (DML) statements are used for managing data within schema objects.
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
MERGE - UPSERT operation (insert or update)
CALL - call a PL/SQL or Java subprogram
EXPLAIN PLAN - explain access path to data
LOCK TABLE - control concurrency


Data Control Language (DCL) statements.
GRANT - gives user's access privileges to database
REVOKE - withdraw access privileges given with the GRANT command

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does csrf attack work?

1010


Is it worth learning php in 2019?

947


What is static variable in php?

1077


What is a comment in php?

1072


What is php date function?

1058


What are the two most common ways to start and finish a php block of code?

1127


Inside a php function, what param needs to be set in order to access a global variable?

949


What is the difference between for and foreach loop in php?

1080


What is a trait in php?

1002


How does cookies work in php?

964


What the use of var_dump()?

1033


What is the use of $_request variable?

997


Can we use session in mvc?

978


How to get the IP address of the client/user in PHP?

950


What are the difference between abstract class and interface in oops?

981