Dynamic SQL - proC - Method 4
Date: Wed, 8 Aug 2001 14:49:10 -0700
Message-ID: <qtic7.121$6Y3.103735_at_news.pacbell.net>
Hello everybody,
I sent an email few weeks ago about a problem I had with an application accessing an Oracle database with proC by using the Dynamic SQL method 4 ( I included the post at the end of this email).
I tried to do it after the DESCRIBE SELECT LIST.
But it isn't working and I still have the same problem.
Has any of you other ideas which could help me to fix this problem? Thank you for your help.
Sylvain.
Hello everybody,
We developed an application accessing an Oracle database with proC/C++ by using the Dynamic SQL method 4. Currently, our application is written in C and is using some proC statements.
When we want to get some data from the database by using this application, everything works fine except with the "string" fields. Indeed, if the type of one field is varchar(10) and this field contains 4 characters, the Dynamic SQL method 4 will return a string containing 10 characters with the 4 corresponding characters + 6 spaces.
We are thinking there should be a way in proC to take care about this problem.
Has any of you already been confronted to this problem? Thank you for your help.
Sylvain.
Received on Wed Aug 08 2001 - 23:49:10 CEST
