Ali G
2005-09-22 14:29:02 UTC
Is there a way of excluding columns in an SQL select construct? I want
to write a statement that would be synonomous with this :
data table1(keep=var1-var1000);
--data--;
run;
proc sql;
select *
except var1, var2, var3
from table1
;
quit;
I know I could do it with the datastep and DROP= but it's SQL I'm
interested in.
Thanks.
to write a statement that would be synonomous with this :
data table1(keep=var1-var1000);
--data--;
run;
proc sql;
select *
except var1, var2, var3
from table1
;
quit;
I know I could do it with the datastep and DROP= but it's SQL I'm
interested in.
Thanks.