Professional Documents
Culture Documents
SQL Server Interview Questions
C#
Boo MV ASP. C SQL W Written HR Subsc SQL Buy
Program 2
ks C NET # Server CF Test Round ribe Tutorial DVD
s
}
SAP BI, .Net, Informatica, Software Testing, Siebel CRM
I am Venkat and this is my website. I did training in Pragim
Technologies and got job in Dell in less than a week. PRAGIM is the
best S/W training institute in Bangalore.
Click here for Hyderabad Center Website
For further details please call 09900113931.
What is a View in SQL Server?
You can think of a view either as a compiled sql query or a virtual table. As a
view represents a virtual table, it does not physically store any data. When you
query a view, you actually retrieve the data from the underlying base tables.
What are the advantages of using views?
Or
When do you usually use views?
1. Views can be used to implement row level and column level security.
Example 1: Consider the tblEmployee table below. I don't want some of the
users to have access to the salary column, but they should still be able to
access ID, NAME and DEPT columns. If I grant access to the table, the users
will be able to see all the columns. So, to achieve this, I can create a view as
shown in Listing 1 below. Now, grant access to the view and not the table. So
SAP BI Training in Bangalore using views we can provide column level security.
Best SAP BI Training institute in Bangalore,
Marathahalli. Real time project based training
tblEmployee
provided by working software professionals
having more than 10 years of experience.
Informatica Training in Bangalore
Informatica training in bangalore delivered by
a real time software expert having 10 years
of experience.
Siebel CRM Training in Bangalore
Best software training institute for Siebel CRM
training in Marathahalli, Bangalore.
Software testing training institute in
bangalore
http://venkatsqlinterview.blogspot.in/2011/05/sqlserverinterviewquestionsonviews.html 1/4
12/24/2016 SQL Server Interview Questions: SQL Server Interview Questions on Views Part 1
Software testing training on real time projects
and placements.
MSBI Training Institute in Bangalore
Best MSBI Training in Bangalore by an
expert. MSBI training on real time projects
and placements.
Basic SQL Server Interview Questions
4 comments:
SQL Server interview questions on
string manipulation functions
Anonymous February 12, 2012 at 4:30 AM
Write a Stored Procedure that takes
column name as a parameter and Some of other advantages of views...
returns the result sorted by the
column that is passed 1) Combines complex tables and can have required columns
from them.
What is deferred name resolution in 2) Index can be created on views (indexed Views) for faster
SQL Server? data retrieval.
3) View can be encrypted..make sure to store the source to
decrypt later.
4) Views can be granted to the user for access instead of
providing access of related tables used in it.
5) Parametrized views can be created using Inline UDF.
6) View can be materialized when indexed.
‐‐JP
Reply
http://venkatsqlinterview.blogspot.in/2011/05/sqlserverinterviewquestionsonviews.html 3/4
12/24/2016 SQL Server Interview Questions: SQL Server Interview Questions on Views Part 1
Enter your comment...
Comment as: Select profile...
Publish
Preview
Disclaimer Terms of use Contact Us
http://venkatsqlinterview.blogspot.in/2011/05/sqlserverinterviewquestionsonviews.html 4/4