DBA and RESOURCE authority are granted in exactly the same manner as each other.
Granting resource permissions to a user ID
Connect to the database as a user with DBA authority.
Type and execute the SQL statement:
GRANT RESOURCE TO userid
For DBA authority, the appropriate SQL statement is:
GRANT DBA TO userid
Only the DBA can grant DBA or RESOURCE authority to database users.
DBA authority is very powerful, granting the ability to carry out any action on the database and access to all the information in the database. It is generally inadvisable to grant DBA authority to more than a very few people.
You should give two user IDs to users with DBA authority—one with DBA authority, and one without—so that they connect as DBA only when necessary.
RESOURCE authority allows the user to create new database objects, such as tables, views, indexes, or procedures.