ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Data-Warehouse >> SAS
 
 
 
Question
what is the need of INDEX in datasets?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
Answer
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.
 
0
Aravind9882
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com