proc sql;
create view sasuser.raisev as
select empid, jobcode,
salary format=dollar12.2,
salary/12 as MonthlySalary
format=dollar12.
from payrollmaster
using libname airline 'c:\data\ia';
quit;
proc sql;
describe view sasuser.raisev;
quit;
Log에 definition 명시
proc sql;
update sasuser.raisev
set salary=salary * 1.20
where jobcode='PT3';
quit;
proc sql;
drop view sasuser.raisev;
quit;