Which SQL statement is used to delete an existing view from the database catalog? MCQ with Answer and Explanation

Which SQL statement is used to delete an existing view from the database catalog?
A. DROP VIEW
B. REMOVE VIEW
C. CLEAR VIEW
D. DELETE VIEW
Answer: Option A
Solution (By JKSSB Mock Tests)
Because a View is a database structural object, it is removed from the database schema using the DDL command 'DROP VIEW'.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following is a valid SQL datatype for storing variable-length strings?
A. VARCHAR
B. DATE
C. INT
D. CHAR

Correct Answer: Option A


Explanation:
VARCHAR stores variable-length character strings. CHAR stores fixed-length strings.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What happens when a database transaction triggers a 'COMMIT' statement?
A. The database structure is dropped.
B. The transaction pauses temporarily.
C. The transaction is aborted and wiped.
D. All changes made by the transaction are made permanent on disk storage.

Correct Answer: Option D


Explanation:
Executing a COMMIT statement instructs the database engine to save all data updates performed during the transaction permanently into physical storage.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is a data dictionary in a DBMS?
A. A table containing user data
B. A backup of the database
C. A repository of metadata about the database
D. A log file

Correct Answer: Option C


Explanation:
The data dictionary stores metadata such as table definitions, column types, constraints, and other database objects.

This question belongs to: Computer Database Management System (DBMS)