How can we write or define DDL statements in Sql server and
DML statements?

Answers were Sorted based on User's Feedback



How can we write or define DDL statements in Sql server and DML statements?..

Answer / simran_8185@rediff.com

DDl is a data defination language means we are defining
like create is a DDL statement
Eg: create table Emp(name varchar(20),address varchar(40));

whereas DML is a Data Manipulation Language in which
updations are made like
update table Emp set name="Ravi" where name="Anil"

Is This Answer Correct ?    5 Yes 0 No

How can we write or define DDL statements in Sql server and DML statements?..

Answer / kalyana chakravarthy maddipati

DDl statements like Create, Alter, Drop and Truncate can't be Rollbacked and Committed implicitly where as DML statements like Insert, Update and Delete can be rollbacked. DML statements has to be comitted explicitly

Is This Answer Correct ?    3 Yes 0 No

How can we write or define DDL statements in Sql server and DML statements?..

Answer / raju vikram

Delete is DDL statement and Truncate is DML statement

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More SQL Server Interview Questions

What do you understand by coalesce in sql server?

1 Answers  


In what three ways is the return statement used in a stored procedure?

1 Answers  


Explain about system database?

1 Answers  


Explain about protocol layer present in SQL server?

1 Answers  


Explain index in sql server?

1 Answers  


Where the sql logs gets stored?

1 Answers  


How do I list the available tables in a database I'm querying?

4 Answers  


How to declare and use cursor variables?

1 Answers  


When should you use an instead of trigger?

0 Answers  


How efficient you are in oracle and SQL server?

0 Answers   CGI,


What is the difference between DATETIME2 and DATETIME?

1 Answers   Infosys,


What is a transactions?

1 Answers  


Categories