What are different types of statements that are supported by sql?
Answer / Sumeet Bhatnagar
SQL supports several types of statements to manipulate and query data in a relational database:
1. Data Definition Language (DDL) Statements: These statements are used to create, alter, or delete database objects such as tables, views, indexes, and schemas.
2. Data Manipulation Language (DML) Statements: These statements are used to insert, update, delete, and retrieve data from the database.
3. Transaction Control Statements: These statements are used to manage transactions, such as COMMIT, ROLLBACK, SAVEPOINT, and BEGIN TRANSACTION.
4. Catalog (Metadata) Statements: These statements are used to retrieve information about database objects, such as DESCRIBE, TABLE, INDEX, and SP_HELP.
5. Control of Flow Statements: These statements are used to control the flow of execution in SQL code, such as IF-ELSE, CASE, LOOP, WHILE, and GOTO.
| Is This Answer Correct ? | 0 Yes | 0 No |
1. What is CUBE Operator? 2. what are the new data types are available in sql server 2008? 3. Inisde a nested queries, how many subqueries u can have?
How do indexes help, types?
What is 4nf in normalization form?
Explain in brief about Microsoft SQL server?
What are locks in sql?
What are the different types of replication are there in sql server 2000?
How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?
in how many ways we can use count()
Can some one please help with a query which will take only max value of a column in a join.
What is an Index?
what is sql injection in sql server?
How to transfer Logins from SQL Server 2000 to 2005
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)