Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Newbie: How to select into a char pointer in Pro*C?

EricMaDec 16 2004 — edited Jan 10 2005
All Pro*C samples I have seen selects a VARCHAR2 column into a host char array. I want to used a char * instead. However, each time I run the program after successful Pro*C and C compilation, I get a critical error. Can someone share some working code using char * rather than char []? Thanks very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 7 2005
Added on Dec 16 2004
5 comments
1,010 views