CREATE VIEW

Advantage SQL Engine

Creates a new view in the database

Syntax

CREATE VIEW <view-name> AS SELECT <select-spec>

Remarks

SELECT statement can not have an ORDER BY clause. Views are by definition virtual base tables, which are unordered.

Views are supported through the use of the Advantage Data Dictionary. CREATE VIEW statements must be executed on a valid dictionary connection, and from the dictionary administrator account.

Example(s)

CREATE VIEW GoodCustomers AS SELECT cust_name from customers where credit_limit > 50000

See Also

sp_ModifyViewProperty