What are the different types of queries?

Answer Posted / anindya basu

The different types of queries are:
a. DDL- e.g. Create, Alter, Rename, Drop, Truncate etc.
b. DML - e,g, Insert, Update, and De;e
c. DCL - Grant, Revoke etc.
d. TCL - Begin Tran, Commit Tran, Rollback Tran
e. DQL - Select

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

2468


What are the steps you can take to avoid “deadlocks”?

523


What are the requirements on sql server network connections?

523


How can I create a new template for import ? : sql server management studio

598


Explain transaction server explicit transaction?

507






What is 2nf normalization?

541


What is the purpose of a table?

521


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

648


Benefits of Stored Procedures?

566


What are the advantages dts has over bcp?

532


When columns are added to existing tables, what do they initially contain?

627


Where the sql logs gets stored? : sql server database administration

528


What is table level trigger?

583


Explain the difference between function and stored procedure?

513


What do you understand by triggers and mention the different types of it?

485