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

I have a column of character type with content like (00001) and want to append it to an oracle column of varchar2(8) . All other columns append with no problem. 

1 ACCEPTED SOLUTION

Accepted Solutions
Thylacine
Fluorite | Level 6

Ok found that names were a little different and that caused the problem;

View solution in original post

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

You need to provide some more inforamtion.  When you say your "appending", do you mean you have some data that is being inserted at the end of the table?  How are you doing this, what code are you running.  Are you sure that column in your dataset is character and not numeric with a Z5. format applied?  Etc.

Thylacine
Fluorite | Level 6

i'm using proc append base=temp_ska_nur(sasdatefmt=(inserted_at='datetime20.'))  data=tu.into_d_mpc force ; run;

 

type of the column is character length 8 format $8.

 

Thylacine
Fluorite | Level 6

Ok found that names were a little different and that caused the problem;

ballardw
Super User

@Thylacine wrote:

Ok found that names were a little different and that caused the problem;


Glad you could resolve the issue. Of course in nearly 40 years of programming of one flavor or another I have never misspelled anything. Honest. Really. :}

 

And if you believe that I have some ocean front property in Montana going cheap.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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