连接外部数据
CONNECT TO 数据库类型选项
本博客所有内容是原创,如果转载请注明来源
http://blog.csdn.net/myhaspl/
连接ACCESS:
proc sql;
connect to access as db(path=”e:\xx.mdb”);
连接excel:
proc sql;
connect to EXCEL(PATH="k:\student_excel.xlsx" GETNAMES=YES);
SELECT * FROM CONNECTION TO EXCEL
(SELECT * FROM [student$]);
DISCONNECT FROM EXCEL;
QUIT;
时间: 2024-10-17 07:55:26