现在的位置: 首页 > 综合 > 正文

SAS dictionary工具

2018年10月21日 ⁄ 综合 ⁄ 共 460字 ⁄ 字号 评论关闭

*得到库信息;
proc sql;
   select * from dictionary.dictionaries;
quit;
*获取查询表名;
proc sql;
   select unique memname from dictionary.dictionaries;
quit;
*or;
proc sql;
   select memname from dictionary.members;
quit;
*将获取的表名信息存表;
proc sql;
   create table dmembers as
   select memname from dictionary.members;
quit;
*描述查询库内工具的信息;
proc sql;
   describe table dictionary.columns;
quit;

proc sql;
   describe table dictionary.tables;
quit;

proc sql;
   describe table dictionary.members;
quit;

更多信息可见“The SAS® Magical Dictionary Tour”文章。

抱歉!评论已关闭.