![]() Chapter Contents |
![]() Previous |
![]() Next |
| INFORMAT |
| Optional statement | |
| Applies to: | access descriptor or view descriptor |
| Interacts with: | ASSIGN, CONTENT, DROP, RESET |
| Syntax | |
| Details |
Syntax |
|
INFORMAT
column-identifier-1<=>SAS-format-name-1
<...column-identifier-n<=>SAS-format-name-n>; |
| Details |
The INFORMAT statement changes a SAS variable informat from its default informat; the default SAS variable informat is based on the data type of the DBMS column. (See ACCESS Procedure Formats and Informats for information about the default informats that the ACCESS Procedure assigns to your DBMS data types.)
An editing statement, such as INFORMAT, must follow the CREATE statement and the database-description statements when you create a descriptor. See CREATE for more information on the order of statements.
informat 2=date9. birthdate=date9.;
You can use the INFORMAT statement with a view descriptor
only if the ASSIGN statement that was used when creating the access descriptor
was specified with the
NO value.
INFMT is the alias for the INFORMAT statement.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.