Answer Posted / aravind9882
index is separate file attached to dataset.
create index on variable that is used in 'by processing'
or 'where processing'.
it will enhance the performance and fast retrieving the
observations when you use indexed variable in where
statement.
you need not to sort the variable if it is indexed when u
use it in "by statement".
create an index on variable when:
-u have to retrieve observations not more than 15% of d
dataset.
-create index on variable where 'by-variable' will have
more than 8 disctint values.
index is of two types:
simple index-created on single variable.
composite index-created on 2 or more variables.
index can b created using proc datasets, proc sql and
datastep.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
explain the key concept of sas? : Sas-administrator
what techniques and/or procs do you use for tables? : Sas programming
Describe a time when you were really stuck on a problem and how you solved it?
If a variable contains only numbers, can it be a character data type?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Explain the purpose of retain statement.
What would you change about your job?
Explain proc univariate?
How are numeric and character missing values represented internally?
What can you learn from the SAS log when debugging?
What is the function of output statement in a SAS Program?
what is SAS OPTIMIZATION?
what is data access? : Sas-di
How do you control the number of observations and/or variables read or written?
Enlist the functions performed by sas.