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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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