The SQL Procedure |
CALCULATED column-alias |
Argument |
is the name that is assigned to the column in the SELECT clause.
Referencing a CALCULATED Column |
CALCULATED enables you to use the results of an expression in the same SELECT clause or in the WHERE clause. It is valid only when used to refer to columns that are calculated in the immediate query expression.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.