100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
OMIS 105 Final questions well answered already passed $12.99   Add to cart

Exam (elaborations)

OMIS 105 Final questions well answered already passed

 5 views  0 purchase
  • Course
  • OMIS
  • Institution
  • OMIS

OMIS 105 Final questions well answered already passed

Preview 2 out of 7  pages

  • October 1, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • OMIS
  • OMIS
avatar-seller
BravelRadon
OMIS 105 Final

Dynamic View - correct answer ✔✔Standard queries used in a virtual table, that is temporary, once the
query is closed it goes away



Materialized views - correct answer ✔✔create table that becomes part of the db, stored on the physical
disk, requires synchronization to refresh data



advantages of dynamic views - correct answer ✔✔-simplify query commands

- help provide data security and confidentiality

- user does not have access to all the data only those that are presented

- can also grant & revoke access

ex: one user can be granted access to see that aggregated data but does not have access to the detailed
base table

some people like creating views that are the same as the base table because views contribute to greater
programming activity as databases evolve- changes in the db means all data that refers to the db needs
to be changed whereas changed if everyone uses the view then that one view only needs to be changed

- improve programmer productivity

- contain most current base table info

- use little storage space

- provide a customized view for a user

- establish physical data independence



disadvantages of views - correct answer ✔✔-dynamic views require significant run time because the
virtual table is recreated every time the view is referenced

- dynamic views may or may not be directly updatebale

- materialized views can only improve performance if the data is relatively static and does not need to be
refreshed that often

-

, triggers - correct answer ✔✔a set of SQL statements that are triggered when a data modification (insert,
update, delete) occurs or if certain data definitions are not encountered

- if a condition is met trigger can be triggered, potential to cascade down - *more powerful than table
and column constraints, however not as efficient

significant advantage over a constraint, is it can produce a customized user message about the
occurrence of an event, constraint just produces standardized error message*



triggers can be used - correct answer ✔✔- to ensure referential integrity (if there is a foreign key in one
relation either each foreign key value must match a primary key in another relation or the foreign key
value must be null

- enforce business rules

- create audit trails

- replicate tables

- activate a procedure



3 parts to a trigger - correct answer ✔✔- event, condition, action

ex: price updates in db to be made

event: price update/change needs to be added to db

condition: for each row

action: after the event, insert specified values into PriceUpdate_t



disadvantages to triggers - correct answer ✔✔- are automatic

- can cascaded down

- if user who has access to db but not editing access can write a trigger to give himself editing access



Routines - correct answer ✔✔- collections of SQL statements that are executed when called



procedure - correct answer ✔✔a collection of procedural and SQL statements that are assigned a unique
name within the schema and stored in the db

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller BravelRadon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75759 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart