如何在SAS的PROC SQL中使用名称('库名称')中的空格列?
proc sql outobs=10;
select *
from sashelp.vtable
where library name = xxx
;
run;
Run Code Online (Sandbox Code Playgroud)
我试过了:
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;
Run Code Online (Sandbox Code Playgroud)
错误:在贡献表中找不到以下列:test_lin.
变量名称:libname
变量标签:库名称
如何将Excel中的时间戳转换为秒。例如,我有00:04:01.394,转换后应该是:
00:04:01.394 -> 241
Run Code Online (Sandbox Code Playgroud)