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.
What are the three types of database design situations?
What are the three types of database design situations?
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.
Discuss the main characteristics (at least 2-3) of the database approach and how it differs from...
Discuss the main characteristics (at least 2-3) of the database approach and how it differs from traditional file systems. (5 pts) Give examples of systems in which it may make sense to use traditional file processing instead of a database approach. (these examples may come from your day-to-day use of technology)
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.
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.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT