--:--









Quiz for SET TRANSACTION

Course: SQL | Subject: SQL | Topic: Transactions and TCL



Logo

Q1: Which SQL command is used to set properties like isolation level for a transaction?

Logo

Q2: What is the primary purpose of the SET TRANSACTION command?

Logo

Q3: Which clause is commonly used with SET TRANSACTION to define how transactions interact?

Logo

Q4: Which isolation level ensures that dirty reads are prevented?

Logo

Q5: What does SET TRANSACTION READ ONLY do?

Logo

Q6: Which isolation level is the strictest in SQL?

Logo

Q7: When must SET TRANSACTION be issued within a transaction?

Logo

Q8: Which command will set a transaction to SERIALIZABLE?

Logo

Q9: Which command starts a read-only transaction?

Logo

Q10: What will happen if SET TRANSACTION is issued after a DML statement?

Logo

Q11: Which of the following is NOT a valid isolation level?

Logo

Q12: Which isolation level can lead to phantom reads?

Logo

Q13: Which isolation level avoids all concurrency problems?

Logo

Q14: What is the default isolation level in most databases like PostgreSQL or Oracle?

Logo

Q15: Can you change isolation level mid-transaction using SET TRANSACTION?

Logo

Q16: Which clause in SET TRANSACTION is used to prevent any changes to the database?

Logo

Q17: Which type of transaction uses SET TRANSACTION READ WRITE?

Logo

Q18: Which SQL command allows setting the rollback segment in Oracle?

Logo

Q19: What will SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED allow?

Logo

Q20: How many times can you use SET TRANSACTION in a transaction?

Logo

Q21: What is the syntax to set isolation level to REPEATABLE READ?

Are you ready to start test? Set your time limit