BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Kalai2008
Pyrite | Level 9

I am trying a run a regular program in SAS using 

proc sql;
connect to oracle(user=&userid. password=&passwd. path= preserve_comments);

 

Got an error like:

ERROR: Error fetching from cursor. ORACLE error is ORA-19011: Character string buffer too small.

 

Query looks good and I ran it every week. This time it throws me this error, not sure where to look for in the SQL query.

 

Apparently program didn't stop, it ran and got the results. 

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

Either someone changed the definition of the object you are querying, or your results are now exceeding some  limits.

 

See this Stackoverflow question about that error message.  Perhaps your query has similar conversion going on.

 

https://stackoverflow.com/questions/26652879/ora-19011-character-string-buffer-too-small

 

View solution in original post

2 REPLIES 2
ChrisBrooks
Ammonite | Level 13

Can you post the rest of the SQL statement as it'll be much easier for us to give an informed response to your issue?

Tom
Super User Tom
Super User

Either someone changed the definition of the object you are querying, or your results are now exceeding some  limits.

 

See this Stackoverflow question about that error message.  Perhaps your query has similar conversion going on.

 

https://stackoverflow.com/questions/26652879/ora-19011-character-string-buffer-too-small

 

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 2281 views
  • 0 likes
  • 3 in conversation