摘要: Understanding the Global Macro Symbol Table Detail •The macro processor creates the global macro symbol table at the start of a SAS session. Four... 阅读全文
posted @ 2014-11-29 17:31 暴走的豆浆 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: transpose基本语法Note: If output-data-set does not exist, PROC TRANSPOSE creates it by using theDATA n naming convention. 􀀀Note: If you omit the VAR stat... 阅读全文
posted @ 2014-11-28 19:21 暴走的豆浆 阅读(3130) 评论(0) 推荐(0) 编辑
摘要: CPU time:the amount of time the central processing unit (CPU) uses toperform requested tasks such as calculations, reading and writingdata, conditiona... 阅读全文
posted @ 2014-11-27 18:08 暴走的豆浆 阅读(3803) 评论(0) 推荐(0) 编辑
摘要: SAS读取小工具 1:Column-Pointer Controls @n : move the pointer to the n column in the input buffer. +n : move the pointer forward n columns in the i... 阅读全文
posted @ 2014-11-20 22:10 暴走的豆浆 阅读(9482) 评论(0) 推荐(0) 编辑
摘要: 1:在程序运行中进行宏定义CALL routines that enable you to transfer information between an executing DATA step and the macro processor.You can use the SYMPUT routi... 阅读全文
posted @ 2014-11-20 12:36 暴走的豆浆 阅读(2610) 评论(0) 推荐(0) 编辑
摘要: 1:Proc sql中的选项1.1:INOBS/OUTOBS=这个选项意思在前面的随笔中已说过,就INOBS这里有个例子这里的INOBS=5是针对于两张表分别读入5个,而不是一共读入五个1.2:NUMBER/NONUMBER效果如下1.3:Double/NoDoubleDouble Spacing ... 阅读全文
posted @ 2014-11-18 22:33 暴走的豆浆 阅读(1785) 评论(0) 推荐(0) 编辑
摘要: 什么是视图?视图是一系列的查询语句,在使用时被执行,用来从其他的数据集或视图中获取想要的子集(subset)或者超集(superset)。The view contains only the logicfor accessing the data, not the data itself视图能用在哪... 阅读全文
posted @ 2014-11-18 00:01 暴走的豆浆 阅读(3636) 评论(0) 推荐(0) 编辑
摘要: update / insert into后面不需要加table关键字1:三种建表方式建表只会在库中建立好表格并在日志中显示,并不会有输出。1.1:自己定义列来建立一张空表column-specification = column-define + column-constriants + MESSA... 阅读全文
posted @ 2014-11-16 13:55 暴走的豆浆 阅读(12632) 评论(0) 推荐(2) 编辑
摘要: SQL进行纵向操作的基本语法proc sql;select *from table1set-operator select *from table2set-operator select *from table3;1:几种set操作符Except、Intersect、Union、OuterJoi... 阅读全文
posted @ 2014-11-14 23:09 暴走的豆浆 阅读(10575) 评论(0) 推荐(0) 编辑
摘要: 1.1:Specifying Column Formats and Labels (SAS enhancements.)proc sql outobs=15; title 'Current Bonus Information'; title2 'Employees with Sa... 阅读全文
posted @ 2014-11-14 19:30 暴走的豆浆 阅读(1294) 评论(0) 推荐(0) 编辑