ER Model 2
ER Model 2
DataBase Role : a set of privileges that defines the authority and responsibility of
users assigned to the role.
Really useful to use to implement different bussiness Rules .
Grant chef_service to NewUser --> aggregation of priviliges
Role : in database is predefined . au lieu 3ndk 15 privildges u just use roles and it
is much better.
you can assing a user many roles .
Indexes : extra structure , only for performance
an index y7kem some records yjib address t3hom .
the index is used by the DBMS , not by the user
Profile : Can be used to limit the use of resources By each user .
Triggers ( Personalised Constraint ):
Question asked by a student : how can we assure that each student can be registered
in 3 different max ?