Question

In: Computer Science

Discuss at least three types of database privileges. Then explain how you can assign privileges or...

Discuss at least three types of database privileges. Then explain how you can assign privileges or remove the privileges from database users.

Solutions

Expert Solution

Privilege is a right to execute a particular type of SQL statement or to access another user's object. Some examples of privileges include the right to:

Connect to the database (create a session)
Create a table
Select rows from another user's table
Execute another user's stored procedure


You grant privileges to users so these users can accomplish tasks required for their job. You should grant a privilege only to a user who absolutely requires the privilege to accomplish necessary work. A user can receive a privilege in two different ways:

You can grant privileges to users explicitly. For example, you can explicitly grant the privilege to insert records into the employees table to the user SCOTT.
You can also grant privileges to a role (a named group of privileges), and then grant the role to one or more users. For example, you can grant the privileges to select, insert, update, and delete records from the employees table to the role named clerk, which in turn you can grant to the users scott and brian.

similarly, you can remove the privilages by revoking the privilages from the users or group.


Related Solutions

Write a post in which you explain at least three ways that database design and data...
Write a post in which you explain at least three ways that database design and data architecture can work together to improve patient satisfaction, lower care costs, or improve patient outcomes. Then identify at least two areas of uncertainty or unanswered questions that you have about database design and data architecture.
Identify and discuss at least three (3) ways how email can be used to commit and/or...
Identify and discuss at least three (3) ways how email can be used to commit and/or cover up a crime. Include how forensics analysis can be used to uncover this evidence. 150 words or more.
In you own words explain what relationship database is. Discuss the benefits of using relationship database...
In you own words explain what relationship database is. Discuss the benefits of using relationship database for improving workflow and efficiency of business decision-making processes.
Describe at least three examples of conflicts of interests. Explain how conflicts of interests can present...
Describe at least three examples of conflicts of interests. Explain how conflicts of interests can present ethical dilemmas for managers/ executives. (3 paragraphs including in-text citations and references in proper APA format)
As the CEO of a company, discuss how you can apply the FOUR (4) types of...
As the CEO of a company, discuss how you can apply the FOUR (4) types of growth strategies.
(a). Explain three (3) types of conflict that can occur in teams. (b). Provide examples of how these types of conflict in teams can be reduced.
(a). Explain three (3) types of conflict that can occur in teams. (b). Provide examples of how these types of conflict in teams can be reduced.
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary...
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary key, check, and referential integrity constraints? Give an example for each.
Explain Crowdsourcing? Explain the 4 types of crowdsourcing, how can you use each of them. How...
Explain Crowdsourcing? Explain the 4 types of crowdsourcing, how can you use each of them. How would you use social media and crowdsourcing to promote the Orlando Magic Basketball Team that is declining in attendance.  
Discuss three types of cases heard by the U.S. tax court. Explain how the appeals process...
Discuss three types of cases heard by the U.S. tax court. Explain how the appeals process works.
Question 1 Please create three different types of variables and assign three different values into the...
Question 1 Please create three different types of variables and assign three different values into the variables. Please create a new variable and assign the sum of two variables above. Please display all the data (four data here) as a line. Question 2 using Scanner, take three inputs from a user (job level, the number of years in company, and job title) and display yearly bonus percentage based in the following rule: job level : 1 to 10 Job title...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT