1.sql读取
sheet名太长的也可导入
proc sql;
connect to excel (path="文件路径");
create table book1 as
select * from connection to excel(select * from [测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测$]);
create table book2 as
select * from connection to excel(select * from [测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测$]);
disconnect from excel;
run;
2.import方式
proc import out=b1
datafile="文件路径"
dbms=xlsx *文件类型;
getnames=yes *以第一行为变量名称;
run;
标签:sheet,excel,导入,测试,sas,select From: https://www.cnblogs.com/rongz/p/17163032.html