What Is AView
What Is AView
What is a View ?
• A VIEW in SQL Server is like a virtual table that contains data from one or multiple tables.
• It does not hold any data and does not exist physically in the database.
• It contains a set of predefined SQL queries to fetch data from the database..
• A VIEW does not require any storage in a database because it does not exist physically.
View definition contd..
How to create a View
• CREATE VIEW Name AS
Where conditions;
AS
Person.PersonPhone.PhoneNumber, Person.PhoneNumberType.Name