Your current authorization ID is DBA. Only one of your secondary authorization IDs, DB2, has the privilege to create an index DB2. AAA on a table. The appropriate SQL statement starts with “CREATE INDEX AAA ON…”. Which of the following statements must precede the CREATE statement so that you can create the index?
- SET CURRENT SQLID = ‘DB2’;
- SET CURRENT RULES = ‘DB2’;
- No preceding statement is needed
- SET CURRENT SCHEMA = ‘DB2’;
Reveal Solution Next Question