What is the maximum number of SOQL queries that can be issued in a single synchronous Apex transaction?
Trap 1: 50
50 is incorrect; the limit is higher for synchronous transactions.
Trap 2: 200
200 is the limit for SOSL queries, not SOQL queries.
Trap 3: 500
500 is too high for a single synchronous transaction.
- A
50
Why wrong: 50 is incorrect; the limit is higher for synchronous transactions.
- B
200
Why wrong: 200 is the limit for SOSL queries, not SOQL queries.
- C
100
Synchronous transactions allow a maximum of 100 SOQL queries.
- D
500
Why wrong: 500 is too high for a single synchronous transaction.