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 |
Name the different type of indexes in sql?
How to genrate automaticlly empid like gt001
What is the use of @@spid?
Explain what are partitioned views and distributed partitioned views?
How do I find the size of a sql server database?
Explain what role entity and relationship play in an ER diagram.
what is differece between union and union all
If there exist a index on the table, and we then make a view on that table (include the indexed column from base table) than why do we require indexing on view?Doesnt it create an overhead?
How to update a field in SQL after ALTERING a row?
How to use order by with union operators in ms sql server?
Difference between Inner vs outer joins?
How to rebuild indexes with alter index ... Rebuild?
Oracle (3259)
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)