|
|
Re: 怎样计算sas数据集的行数?
Thanks again, urchin,
Your link opens another window for me to learn SAS.
It works after I reviewed horse1's entry. I tried on a big dataset.
Thanks a lot, all of you.
[color=#4000FF:1xy0jay6]proc sql outobs=10; /* 如果要选 第 200 至 299 的记录呢?*/
Create table work.temp as
select *
from sashelp.class
order by height desc;
quit; [/color:1xy0jay6]
只是感到奇怪,有些很简单的东西,SAS 处理起来变得复杂了。
.Net 好像可以 Select top 10 .... from table_Name;
FoxPro 可以 Select * from yourtable where recno()<=10;
Select yourtable
Go Bottom
? recno() * 显示所有记录, (包括已删除的);
或:
Select * from yourtable
? _tally |
|