DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Workbench
|PDF 
Feedback
 
  • Welcome to Workbench Programming Documentation
  • What’s New
  • Getting Started
  • SAS Language Elements by Name, Product, and Category
  • SAS Viya Workbench Procedures
  • Python Programming
  • R Programming
  • Advanced Analytics
  • Data Access
  • Data Quality
  • Output and Graphics
  • SAS Language Resources
    • SAS Language Programmer’s Guide
    • Base SAS Procedures
    • Data Step Programming
    • SAS Global Statements
    • SAS System Options
    • SAS Macro Language Reference
    • FedSQL Reference
    • DS2 Programmer’s Guide
    • DS2 Reference
      • Introduction
      • Getting Started
      • DS2 Language Reference
      • Appendixes
        • Data Type Reference
        • DS2 Expressions
        • DS2 Example Programs
    • SAS Component Objects
    • Base SAS Utilities
  • Administration
  • Accessibility
  • Other Resources
DS2 Reference
 

Data Type Reference

Data Types for SAS Data Sets
Data Types for Amazon Redshift
Data Types for Microsoft SQL Server
Data Types for Oracle
Data Types for PostgreSQL
Data Types for Snowflake
Last updated: June 2, 2025
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved