Assume an Oracle database administrator has connected to a pluggable database. What will be the statements the DBA use to a) create a role named emp_role, which will have the privileges to connect to the database, query a table T1 owned by user HR create tables in a user's own schema b) create a profile named emp_profile to limit database resource consumption and enforce password policy as follows: • logon time should be at most 5 hours idle time should be at most 20 minutes CPU time required per call should be at most 1 second at most 10 data blocks can be read per session a password must expire every 30 days at most three successive failed login attempts are allowed a password cannot be reused c) create a password verification function emp_pass_verify to enforce a password to conform to all the following rules: contains at least 8 characters contains at least one letter, at least one digit, and at least one special character (that is not a letter or a digit) starts with an upper-case letter does not contain the username as a substring d) create a user Hw4User using password Hw4000, according to the following • guidelines: • the default tablespace is TOOLS the temporary tablespace is TEMP_TOOL_GROUP the account is initially locked the user account will be assigned with emp_profile profile has a 10MB quota in the TOOLS tablespace the user is granted with role emp_role the user's password should be verified using the rules specified in problem c)
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps