數學之路-sas備忘(6),數學之路-sas備忘

來源:互聯網
上載者:User

數學之路-sas備忘(6),數學之路-sas備忘

串連外部資料

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;

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.