JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
DDL interview questions part 1
DDL interview questions part 1
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
A. Data Definition Language(DDL)
B. Data Manipulation Language(DML)
C. DML and DDL
D. None of the Mentioned
Show Correct Answer
Correct Answer is :
Data Definition Language(DDL)
2. Which of the following is/are the DDL statements?
A. Create
B. Drop
C. Alter
D. All of the Mentioned
Show Correct Answer
Correct Answer is :
All of the Mentioned
3. In SQL, which command(s) is(are) used to change a table’s storage characteristics?
A. ALTER TABLE
B. MODIFY TABLE
C. CHANGE TABLE
D. All of the Mentioned
Show Correct Answer
Correct Answer is :
ALTER TABLE
4. In SQL, which of the following is not a data definition language commands?
A. RENAME
B. REVOKE
C. GRANT
D. UPDATE
Show Correct Answer
Correct Answer is :
RENAME
5. ________clause is an additional filter that is applied to the result.
A. Select
B. Group-by
C. Having
D. Order by
Show Correct Answer
Correct Answer is :
Having
6. ___________ defines rules regarding the values allowed in columns and is the standard mechanism for enforcing database integrity.
A. Column
B. Constraint
C. Index
D. Trigger
Show Correct Answer
Correct Answer is :
Constraint
7. SQL has how many main commands for DDL:
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
3
8. Which command defines its columns, integrity constraint in create table:
A. Create command
B. Drop table command
C. Alter table command
D. All of the Mentioned
Show Correct Answer
Correct Answer is :
Create command
9. Which command is used for removing a table and all its data from the database:
A. Create command
B. Drop table command
C. Alter table command
D. All of the Mentioned
Show Correct Answer
Correct Answer is :
Drop table command
10. Which command allows the removal of all rows from a table but flushes a table more efficiently since no rollback information is retained:
A. TRUNCATE command
B. Create command
C. Drop table command
D. Alter table command
Show Correct Answer
Correct Answer is :
TRUNCATE command
11. _____________ is special type of trigger based on CLR environment.
A. DML
B. DDL
C. LOGON
D. CLR
Show Correct Answer
Correct Answer is :
CLR
12. Point out the correct statement :
A. Logon triggers are special type of trigger that fire when LOGON event of Sql Server is raised
B. DDL triggers are special type of trigger that fire when LOGON event of Sql Server is raised
C. DML triggers are special type of trigger that fire when LOGON event of Sql Server is raised
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Logon triggers are special type of trigger that fire when LOGON event of Sql Server is raised
13. DDL triggers can be applied to __________ statement.
A. CREATE
B. UPDATE
C. DELETE
D. INSERT
Show Correct Answer
Correct Answer is :
CREATE
14. INSTEAD of clause cannot be used for ____________ trigger.
A. DML
B. DDL
C. LOGON
D. CLR
Show Correct Answer
Correct Answer is :
DDL
15. Point out the wrong statement :
A. DDL trigger can be used to observe and control actions performed on the server, and to audit these operations
B. DML trigger can be used to observe and control actions performed on the server, and to audit these operations
C. DDL triggers can be used to manage administrator tasks such as auditing and regulating database operations
D. None of the mentioned
Show Correct Answer
Correct Answer is :
DML trigger can be used to observe and control actions performed on the server, and to audit these operations
16. Purpose of DDL Trigger is to :
A. Perform administrative tasks
B. Audit
C. Regulating database operations.
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
17. DDL triggers can only fire after the ______ statement has occurred.
A. DML
B. CLR
C. DDL
D. All of the mentioned
Show Correct Answer
Correct Answer is :
DDL
18. How many types of DDL Trigger is present in SQL Server ?
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
2
19. ____________ triggers do not create the special inserted and deleted tables.
A. DML
B. CLR
C. DDL
D. All of the mentioned
Show Correct Answer
Correct Answer is :
DDL
20. Scope of DDL triggers in SQL Server can be :
A. Server
B. Client
C. Views
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Server
Similar Interview Questions
Search for latest jobs
Find Jobs