Question

In: Computer Science

topic:- Fundamentals of Databases *********** no hand writing********* If there is photo but photo don’t do...

topic:- Fundamentals of Databases

*********** no hand writing*********

If there is photo but photo don’t do fax ?

*the answer must be unique not copied "plagiarized "

question One

Consider the following two tables:

Table – EmployeeInformations

EmpId Name ManagerId DateOfJoining

121 Ali 321 01/31/2014

321 Raed 986 01/30/2015

421 Khaled 876 27/11/2016

Table – EmployeeSalary

EmpId Project Salary

121 P1 8000

321 P2 1000

421 P1 12000

Question

Explain the role of SQL authorization mechanisms that allow to differentiate among the users of the database as far as the type of access they are permitted on various data values in the database?

Solutions

Expert Solution

Authorization refers to providing permission to someone to perform a particular task. When it comes to SQL there are certain authorization mechanisms that take care of the permissions given to the users of a database according to their designations and requirements.

In SQL this is taken care of through SQL standard authorization mode which is an access control system and is compatible with SQL 2003. This can be enabled in the Derby DBMS by setting the derby.database.sqlAuthorization property to true. Derby is given as the reference as it has the most simple database access mode which can be used to provide users with full, read-only, or no-access authorization.

When a table, function, procedure or view is created, the person who creates the object is known as the owner of the object. Only the object owner or the database owner has full privileges on this object. Other users can only be granted database privileges by the object owner be it public or an individual privilege. Only the project owner has granting or revoking rights associated with database privileges.

Once the SQL standard authorization mode is enabled, the object owner can use Grant or Revoke statements to set the user privileges for specific database operations such as Insert, Update, Select, etc or on some database objects such as views or tables. Roles can also be used by the object owners to administer the database privileges.

Here's the solution to your problem. Thanks for asking and happy learning!!!!


Related Solutions

topic:- Fundamentals of Databases * no hand writing *the answer must be unique not copied "plagiarized...
topic:- Fundamentals of Databases * no hand writing *the answer must be unique not copied "plagiarized " ______________ Introduction to Data Base Purpose The purpose of this assignment is to help you learn more about databases in real life. Brief Introduction Databases are important in businesses and organizations because they provide a highly efficient method for handling data. Some of the data that are easily managed include: employee records, student information, payroll, accounting, project management and inventory, etc.. A database...
please use computer to do this question ( I do not understand hand writing) 4. Determine...
please use computer to do this question ( I do not understand hand writing) 4. Determine if the following production technologies exhibit IRS, DRS, or CRS, and explain why. (1 point each)       a. q=2KL       b. q=5KL       c. q=       d. q=       e. q=K+L       f. q=3K+3L       g.q=8(K+L)
Research on this topic and at least 2 paragraph Investing Fundamentals
Research on this topic and at least 2 paragraph Investing Fundamentals
THESE ARE THE QUESTIONS FROM THE SUBJECT POWER SYSTEM FUNDAMENTALS AND THE TOPIC IS MECHANICAL DESIGN...
THESE ARE THE QUESTIONS FROM THE SUBJECT POWER SYSTEM FUNDAMENTALS AND THE TOPIC IS MECHANICAL DESIGN OF OVER HEAD LINES AND THE ANSWERS ARE IN BRCKETS 1) Estimate the corona loss for a three-phase, 110 kV, 50 Hz, 150 km long transmission line consisting of three conductors each of 10 mm diameter and spaced 2·5 m apart in an equilateral triangle formation. The temperature of air is 30ºC and the atmospheric pressure is 750 mm of mercury. Take irregularity factor...
Purpose An effective way to engage with the topic of writing is to consider how writing...
Purpose An effective way to engage with the topic of writing is to consider how writing matters in various communities on a daily basis. This paper provides the chance to reflect in a personal way about a writing community you successfully joined by learning how to use the language and reasoning skills of that community. By using personal experiences and anecdotes, you will trace your movement from an outsider to an insider in a particular community. Examples of writing communities...
Please answer by type words, do not hand writing and pictures 1. Does your state have...
Please answer by type words, do not hand writing and pictures 1. Does your state have an individual income tax? If so, how closely does it conform to the federal tax? Can one deduct the federal tax in computing the state income tax? List some specific ways that the federal and state tax bases differ. What problems, if any, do these differences create in computing your taxes? What additional issues have been created in as a result of Federal Tax...
Define and explain ”Integrated Joint-Venture” Plz don’t write for hand, because I don’t understand yours handstyle...
Define and explain ”Integrated Joint-Venture” Plz don’t write for hand, because I don’t understand yours handstyle and thank you.
( NO HAND WRITING PLEASE ) Q1: Suppose that a and b are integers, a ≡...
( NO HAND WRITING PLEASE ) Q1: Suppose that a and b are integers, a ≡ 11 (mod 19), and b ≡ 3 (mod 19). Find the integer c with 0 ≤ c ≤ 18 such that a) c ≡ 13a (mod 19). b) c ≡ 8b (mod 19). c) c ≡ a − b (mod 19). d) c ≡ 7a + 3b (mod 19). e) c ≡ 2a2 + 3b2 (mod 19). Q2: List all the steps used to...
Genome sequences are useful to search DNA databases. Proteomics on the other hand is searchable protein...
Genome sequences are useful to search DNA databases. Proteomics on the other hand is searchable protein sequence data that allows for comparison within and between species. However, protein expression by an organism changes during growth, disease, and the death of cells and tissues. Compare DNA genome and proteome analysis as resources to understand gene regulation. What comparisons can be made to understand gene expression and protein synthesis at various stages of an organisms life cycle?
THESE QUESTONS ARE FROM THE SUBJECT POWER SYSTEM FUNDAMENTALS AND FROM THE TOPIC ELECTRICAL DESIGN OF...
THESE QUESTONS ARE FROM THE SUBJECT POWER SYSTEM FUNDAMENTALS AND FROM THE TOPIC ELECTRICAL DESIGN OF OVER HEAD TRANSMISSION LINES AND MAKE SURE THAT YOUR ANSWER IS CORRECT Problem-4 Find the inductance per km per phase of a 3-phase overhead transmission line using 2 cm diameter conductor when these are placed at the corners of an equilateral triangle of side 4 meters. Problem-5 The three conductors of 3-phase overhead line are arranged in a horizontal plane with a spacing of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT