如何PROC SQL
在 SAS 中使用名称(“库名称”)中带有空格的列?
proc sql outobs=10;
select *
from sashelp.vtable
where library name = xxx
;
run;
我试过:
proc sql outobs=10;
select *
from sashelp.vtable
where 'Libname'n = test_lin;
quit;
proc sql outobs=10;
select *
from sashelp.vtable
where 'library name'n = test_lin;
quit;
proc sql outobs=10;
select *
from sashelp.vtable
where libname = test_lin;
quit;
错误:在贡献表中未找到以下列:test_lin。
变量的名称:libname
变量标签:Library Name