SAS Certified Adv Programmer 50 Questions (49)
Which one of the following SAS programs is the most efficient in producing and removing an index from a SAS data set?
a.
proc datasets lib=sasuser; modify houses; index create style; index delete location; quit;
b.
proc datasets lib=sasuser; modify houses; index delete location; index create style; quit;
c.
proc datasets lib=sasuser; modify houses; delete index location; quit; proc datasets lib=sasuser; modify houses; create index style; quit;
d.
proc datasets lib=sasuser; modify houses; delete index location; create index style; quit;
Topics:
SAS Adv Questions |
2 Comments »
B
B: we should delete the old index before creating a new one