Database Administration (MOSC)

MOSC Banner

Two questions regarding best practices when using database views

edited Aug 10, 2017 5:00AM in Database Administration (MOSC) 1 commentAnswered

Two questions regarding best practices when using database views.

1. Is it a best practice and/or appropriate for user's to perform DML on the underlying table's data via views?

2. If it is a best practice and/or appropriate to perform DML via a view, when we want to back up that data like prior to that DML, should we back up at the view level or at the table level?

3. Is it a best practice for the application's data to be exposed via views and not the base tables, i.e. have a user schema in the db who owns the base tables and views and just grant object privileges on the views to another database user which the application connects to the database as.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center