In a sotred process being coded in EG, is there a way, in a query, to obtain the first occurrence of a data field? Something like the following pseudocode....
Create table suchandsuch;
first requestedfield
fieldb
fieldc
first fieldd
quit;
run;
In short, say I have 10 occurrences of a record (no, not duplicates) for Joe Schmoe, but I only want to gather info for the first occurrence. I know how to do this in MS Access queries, but haven't seen anything about it for stored processes.
Create table suchandsuch;
first requestedfield
fieldb
fieldc
first fieldd
quit;
run;
In short, say I have 10 occurrences of a record (no, not duplicates) for Joe Schmoe, but I only want to gather info for the first occurrence. I know how to do this in MS Access queries, but haven't seen anything about it for stored processes.