BookmarkSubscribeRSS Feed
sam-syed
Calcite | Level 5

Hi, 

I am connecting to Teradata using below code but SAS reading 

teradata table wrong

For example customerId 23 in teradata, sas reading it as 24 and some ID sas not even reading 

. Any help will be appropriated 

 

 

Code 

 

libname test teradata userid =“userid” pw “password” server =“teradata server” database =“DBName”;

3 REPLIES 3
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

remember the basics 8 bytes.

 

Tom
Super User Tom
Super User

You haven't given us enough information to tell what your question is. 

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

sounds like another question where the user doesn't understand why SAS uses 8 when setting up strings if the user doesn't define the length.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1039 views
  • 0 likes
  • 3 in conversation