sql server - SQL Performance/Advantages of selectin data from table and same data from View on same table -
why suggested select data view on particular table rather selecting directly table.
eg. have
select * table1 --not recommended create view test ( select * table1 ) select * view - recommended.
is beccause of locking issue or else (using mssql 2008 r2)
views recommended
- hide underlying table structure i.e. have calculated columns or transformed ones etc.,
- manage access @ granular level i.e. grant access columns in table
Comments
Post a Comment