Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » DDL Statements » CREATE VIEW |
CREATE VIEW <Name> AS <View Definition> [WITH CHECK OPTION|WITHOUT CHECK OPTION] [DESCRIPTION <Description>] [VERSION <VersionNumber>] [ATTRIBUTES <CustomAttributes>]
-- The following view selects the employee Name and -- HireDate column from the Employees table. CREATE VIEW "EmployeesList" AS SELECT Name, HireDate FROM Employees -- The following view uses a derived table to retrieve -- data. It will be considered updateable, but will not -- be updateable at runtime. CREATE VIEW "DerivedSum" AS SELECT * FROM (SELECT CustNo, SUM(Orders.ItemsTotal) AS Total FROM Customer INNER JOIN Orders ON Orders.CustNo=Customer.CustNo GROUP BY CustNo) AS CustomerTotals WHERE Total > 80000
Deviation | Details |
Columns List | ElevateDB does not support specifying a list of column names for the view. Instead, it always uses the column correlation names from the SELECT columns in the query expression to determine the names of the columns in the view. |
RECURSIVE | ElevateDB does not support the RECURSIVE clause and recursive views. This means that you cannot reference the view being created within the view definition. |
LOCAL or CASCADED | ElevateDB does not support the LOCAL or CASCADED clauses in the WITH CHECK OPTION clause. |
DESCRIPTION | The DESCRIPTION clause is an ElevateDB extension. |
VERSION | The VERSION clause is an ElevateDB extension. |
ATTRIBUTES | The ATTRIBUTES clause is an ElevateDB extension. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |