BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 7: TSQLStoredProc mapping with Oracle 9i

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
FAN
Guest





PostPosted: Wed Dec 08, 2004 11:14 am    Post subject: Delphi 7: TSQLStoredProc mapping with Oracle 9i Reply with quote



My Oracle 9i stored procedure is
CREATE PROCEDURE P_INS_VALUE (v_int IN INTEGER)
IS
BEGIN
INSERT INTO TEMP999 (TCODE) VALUES (v_int);
END;

I have a problem when calling it by the TSQLStoredproc in Delphi 7
The default params mapping return ftBCD for DataType property and I have an
error when running
When changing by ftInteger I have another error when running

Has someone have the same problem ?
Is it a bug of DbExpress component ?
Is there a solution ?

Best regards
FAN


Back to top
Miroslav Penchev
Guest





PostPosted: Wed Dec 08, 2004 1:17 pm    Post subject: Re: Delphi 7: TSQLStoredProc mapping with Oracle 9i Reply with quote



Hi,

On Wed, 8 Dec 2004 12:14:44 +0100, FAN <fanteblian (AT) agenoria (DOT) com> wrote:

Quote:
My Oracle 9i stored procedure is
CREATE PROCEDURE P_INS_VALUE (v_int IN INTEGER)
IS
BEGIN
INSERT INTO TEMP999 (TCODE) VALUES (v_int);
END;

I have a problem when calling it by the TSQLStoredproc in Delphi 7
The default params mapping return ftBCD for DataType property and I have
an
error when running
When changing by ftInteger I have another error when running

Has someone have the same problem ?
Is it a bug of DbExpress component ?
Is there a solution ?

It is just a leak in dbExpress driver for Oracle. It does not support
Integer types for Oracle database. I have already posted a feature request
into QC, but for now I cannot find acceptable solution.

Cheers,
--
Miroslav Penchev
Technical Manager, BSC Group
POBox 446
Varna 9000
BULGARIA
Tel/Fax +359 52 600182
E-mail: [email]Miroslav.Penchev (AT) bsc (DOT) bg[/email]
Web: www.bsc.bg

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.