SalesBuy
1-855-856-7678
Technical SupportSupport
Creates a virtual table that represents the data in one or more tables in an alternative way. CREATE VIEW must be the first statement in a query batch.
Syntax Conventions (Windows Azure SQL Database)
CREATE VIEW [ schema_name . ] view_name [ (column [ ,...n ] ) ]
[ WITH <view_attribute> [ ,...n ] ]
AS select_statement
[ WITH CHECK OPTION ] [ ; ]
<view_attribute> ::=
{
[ SCHEMABINDING ]
[ VIEW_METADATA ] }
This syntax diagram demonstrates only the supported arguments and options in Microsoft Windows Azure SQL Database.
Windows Azure SQL Database does not support the ENCRYPTION argument with the CREATE VIEW statement.
For more information about the arguments and the CREATE VIEW statement, see CREATE VIEW (Transact-SQL) in SQL Server Books Online.