As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Talk:Solutions in the Round -- How Many Observations in the Dataset

From sasCommunity
Revision as of 13:38, 6 May 2016 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Another solution

To count observations using SQL, one can also use:

proc sql;
    select count(*)
    from dataset;
quit;

If you say "as Count" after the count statement, it will be labeled in the output. - paulkaefer (talk) 13:38, 6 May 2016 (CDT)