1018 proc sql noprint;
1019 select name into :numer separated by '+'
1020 from dictionary.columns
1021 where libname = 'WORK'
1022 and memname = 'total_total_50'
1023 and lower(substr(name,1,1)) = 'T'
1024 and not notdigit(substr(name,.));
NOTE: 没有选择任何行。
1025 quit;
NOTE: “PROCEDURE SQL”所用时间(总处理时间):
实际时间 0.01 秒
CPU 时间 0.03 秒
proc sql noprint;
create table test as
select *
from dictionary.columns
where libname = 'WORK'
and memname = 'total_total_50'
and lower(substr(name,1,1)) = 'T'
and not notdigit(substr(name,.));
quit;