Professional Documents
Culture Documents
SAS Notes
SAS Notes
Co p yri g h t 2 0 1 2 , S A S I n st i t u t e I n c. A l l ri g h t s re se rve d .
Co p yri g h t 2 0 1 2 , S A S I n st i t u t e I n c. A l l ri g h t s re se rve d .
SAS Terminology
Database Terminology
Table
Observation
Row
Variable
Column
2
2
Co p yri g h t 2 0 1 2 , S A S I n st i t u t e I n c. A l l ri g h t s re se rve d .
Co p yri g h t 2 0 1 2 , S A S I n st i t u t e I n c. A l l ri g h t s re se rve d .
Data Types
Character variables
can contain any value: letters, numerals, special
characters, and blanks
range from 1 to 32,767 characters in length
have 1 byte per character.
Partial work.newsalesemps
First_Name
Monica
Kevin
Petrea
Numeric variables
store numeric values using floating point or binary
representation
have 8 bytes of storage by default
can store 16 or 17 significant digits.
Last_Name
Kletschkus
Lyon
Soltau
Job_Title
Sales Rep. IV
Sales Rep. I
A blank represents a
missing character value.
Salary
.
26955
27440
A period represents a
missing numeric value.
4
4
Co p yri g h t 2 0 1 2 , S A S I n st i t u t e I n c. A l l ri g h t s re se rve d .
01JAN1960
01JAN1961
store
-365
366
display
01/01/1959
01/01/1960
01/01/1961