BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
csetzkorn
Lapis Lazuli | Level 10

I am aware of this and use SAS code along those lines:

 

proc sql;
connect to TERADATA (OVERRIDE_RESP_LEN=YES SERVER=DBC AUTHDOMAIN="Bla" MODE=TERADATA);
create table SomeExcitingData as
Select *
from connection to teradata
(
.... 
);
disconnect from TERADATA;
quit;

 

Here ... contains SQL code which works perfectly fine when submitted to TeraData via SQL Assistant. Unfortunately, I get:

 

ERROR: Teradata row not delivered (trget): Numeric overflow occurred during computation.

 

Any ideas? Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
kiranv_
Rhodochrosite | Level 12

Just be careful when you are moving big number, SAS does have restriction in length and precision for numeric column. If number is significantly large cast it to char

 

http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/viewer.htm#a000344718.htm

View solution in original post

3 REPLIES 3
kiranv_
Rhodochrosite | Level 12

do you know, which column could be causing this and are number of records same for what you run in sql assistant and pass through are same?

csetzkorn
Lapis Lazuli | Level 10
I solved - cast(... as decimal(38,8)) solved the issue!
kiranv_
Rhodochrosite | Level 12

Just be careful when you are moving big number, SAS does have restriction in length and precision for numeric column. If number is significantly large cast it to char

 

http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/viewer.htm#a000344718.htm

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 6896 views
  • 0 likes
  • 2 in conversation