With data views, this may only be done indirectly, by assigning integrity constraints to the data files that the data views reference. SAS data files can be indexed. Indexing may allow SAS to find data in a SAS data file more quickly. SAS data views cannot be indexed. SAS data files can be encrypted.
Encryption provides an extra layer of security to physical files.
SAS data views cannot be encrypted. SAS data files can be compressed. Compression makes it possible to store physical files in less space. SAS data views cannot be compressed. The following table illustrates native and interface SAS data files and their relationship to SAS data views.