How can we write or define DDL statements in Sql server and
DML statements?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / raju vikram
Delete is DDL statement and Truncate is DML statement
| Is This Answer Correct ? | 3 Yes | 8 No |
What do you understand by coalesce in sql server?
In what three ways is the return statement used in a stored procedure?
Explain about system database?
Explain about protocol layer present in SQL server?
Explain index in sql server?
Where the sql logs gets stored?
How do I list the available tables in a database I'm querying?
How to declare and use cursor variables?
When should you use an instead of trigger?
How efficient you are in oracle and SQL server?
What is the difference between DATETIME2 and DATETIME?
What is a transactions?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)