ALTER VIEWview-name [(column-commalist )] ASquery
| The view being modified, which has the same naming rules as a table name. | |
| The column names that compose the view. | |
| The result set (from a query) that serves as a the basis for the view. |
ALTER VIEW MyView ( ViewCol1, ViewCol2, ViewCol3 ) AS
SELECT TableCol1, TableCol2, TableCol3 FROM MyTable
ALTER VIEW MyView AS SELECT TableCol1 AS ViewCol1, TableCol2 AS ViewCol2, TableCol3 AS ViewCol3 FROM MyTable
| Copyright © 1997-2004, InterSystems Corp. | Last updated: 2004-03-17 14:33:30 | Source: RSQL_alterview.xml |