Labels

2017 absence absence management Account accounting AIM aliases AME and API application application utilities lookups approval assignments ATO Australia Bank bi publisher budget business business groups CAGR candidates cartisian product case CEMLI Center Stage channels Classification competency concurrent Configuration configuration profile constants contextualization conversion correction cost costing coverage area customization data database date DateTracked deductions define design develop DFF diagnostics document earnings ebs EIT Element employee enhancements erp excel expression extension failure Fastformula FBT Flexfield FND fndload foreign key forms Formula fringe benefit FRM-40654 from FTE Functions fund fusion GL global transfer grade help hierarchy HR HRMS human resource management system implementation income information interfaces internet interview job join key flexfield KFF KPI language learning leave legal employer legislation links lists localization location management New Year obia obiee OLF onboarding oracle oracle applications oracle descriptive flex field oracle descriptive flexfield oracle ebs oracle erp oracle fusion HCM oracle hrms oracle hrms interview questions oracle hrms modules oracle hrms modules list oracle hrms organization oracle hrms table oracle hrms tables oracle hrms tutorial oracle irecruitment oracle legal entities oracle lookups oracle organization hierarchy oracle payroll oracle payroll interview questions oracle payroll tables oracle self service order by Organization organization type otbi package package body package specification patch payg Payment payroll people group perform person personalisation phase pl/sql position primary key process profile programs project qualifier Query question questions Recruiting Center Recruitment regex regular expression reporting tool reports requests requirement requisition resume retropay RICE salary schema security profile select SIT smartorg sql statutory stores STP Super Superannuation system systems Table Taleo taleo 15B Taleo Recruitment tax termination test testing trunc update user group user management user type value set variables View Views Web ADI webadi where work relationship

Saturday 29 November 2014

Table vs. View – Any difference?


Many of us might struggle to give a precise answer to this question. This article might just help ..


The difference between a view and a table is that views are definitions built on top of other tables (or views), and do not hold data themselves. To put it in simple words, a view is a virtual table which also consists of rows and columns just like a table. Views have no direct or physical relation with the database.


If data is changing in the underlying table, the same change is reflected in the view. In general, views cannot be updated, deleted and modified but we could select data from views easily.

Just to reiterate, a view can be built on top of a single table or multiple tables. It can also be built on top of another view.

Advantages of View over Table

Ease of use
    A view hides the complexity of the database tables from end users. Essentially we can think of views as a layer of abstraction on top of the database tables.

Space savings
     Views takes very little space to store, since they do not store actual data.

Additional data security
      Views can include only certain columns in the table so that only the non-sensitive columns are included and exposed to the end user. In addition, some databases allow views to have different security settings, thus hiding sensitive data from prying eyes.

Here are some examples of HRMS views over base tables - 

Base Table
Views
HR_ALL_ORGANIZATION_UNITS
·        HR_ORGANIZATION_UNITS
·        PER_ALL_ORGANIZATION_UNITS
·        PER_ORGANIZATION_UNITS
PER_ALL_PEOPLE_F
·        PER_PEOPLE
·        PER_PEOPLE_F
·        PER_PEOPLE_X
·        PER_ALL_PEOPLE
PER_ALL_ASSIGNMENTS_F
·        PER_ASSIGNMENTS
·        PER_ASSIGNMENTS_F
·        PER_ASSIGNMENTS_X
·        PER_ALL_ASSIGNMENTS
PER_ALL_POSITIONS
·        HR_POSITIONS
·        HR_POSITIONS_F
·        HR_POSITIONS_X
·        PER_POSITIONS
·        HR_ALL_POSITIONS
PER_ALL_VACANCIES
·        PER_VACANCIES

No comments:

Post a Comment