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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 6105 views
  • 0 likes
  • 2 in conversation