小编PNP*_*vir的帖子

使用列名称中的空格Proc SQL

如何在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.

sashelp.vtable

变量名称:libname

变量标签:库名称

sql sas 4gl

1
推荐指数
1
解决办法
9421
查看次数

在Excel中将时间戳转换为秒

如何将Excel中的时间戳转换为秒。例如,我有00:04:01.394,转换后应该是:

00:04:01.394 -> 241
Run Code Online (Sandbox Code Playgroud)

excel type-conversion

-3
推荐指数
1
解决办法
4211
查看次数

标签 统计

4gl ×1

excel ×1

sas ×1

sql ×1

type-conversion ×1