And 'Create Table' clause can define new table, and this is similar to 'Data Statement' for 'Data step.'
PROGRAM
--------------------------------------
/* NEW TABLE : DEMOG1 SOURCE TABLE: DEMOG
VARIABLE : ALL in DEMOG to use '*' and
A new of 'WT_LBS'
*/
PROC SQL ;
CREATE TABLE DOMOG1
AS SELECT
* ,
WT/0.45359237 AS WT_LBS LABEL='WEIGHT(Pound)' FORMAT =10.1
FROM DEMOG;
FROM DEMOG;
QUIT ;
--------------------------------------
OUTPUT (NOT FULL DATA)
Post a Comment
別ページに移動します