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 

TQuery +stored proc

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
George
Guest





PostPosted: Thu Oct 21, 2004 1:40 pm    Post subject: TQuery +stored proc Reply with quote



query->SQL->Clear();
query->SQL->Add("execute procedure CHANGE_CUSTOMER(:Param1)");
query->Params->Items[0]->AsInteger=1;


it's oracle database, and when I ExecSQL() it gives me access violation
exception
in SQLORA8.DLL

well to the CHANGE_CUSTOMER procedure Param1 is in value of NUMBER.
thanks for help



Back to top
Jayme Jeffman Filho
Guest





PostPosted: Thu Oct 21, 2004 7:02 pm    Post subject: Re: TQuery +stored proc Reply with quote



Hello George,

I've never dealt with image blob fields, but I know it's not an easy
task. Have a look on TBlobStream::Read in the help file it might
help you.

HTH

Jayme.

"George" <jjio (AT) mail (DOT) ru> escreveu na mensagem
news:4177bcca (AT) newsgroups (DOT) borland.com...
Quote:
query->SQL->Clear();
query->SQL->Add("execute procedure CHANGE_CUSTOMER(:Param1)");
query->Params->Items[0]->AsInteger=1;


it's oracle database, and when I ExecSQL() it gives me access violation
exception
in SQLORA8.DLL

well to the CHANGE_CUSTOMER procedure Param1 is in value of NUMBER.
thanks for help






Back to top
George
Guest





PostPosted: Fri Oct 22, 2004 12:43 pm    Post subject: Re: TQuery +stored proc Reply with quote



Jayme, thanks for answer...
but I don't have any blob fields in my database,
Param1 is integer, which I need to pass to my CHANGE_CUSTOMER function...



"Jayme Jeffman Filho" <jaymenosp (AT) jeffman (DOT) eng.br> wrote

Quote:
Hello George,

I've never dealt with image blob fields, but I know it's not an easy
task. Have a look on TBlobStream::Read in the help file it might
help you.

HTH

Jayme.

"George" <jjio (AT) mail (DOT) ru> escreveu na mensagem
news:4177bcca (AT) newsgroups (DOT) borland.com...
query->SQL->Clear();
query->SQL->Add("execute procedure CHANGE_CUSTOMER(:Param1)");
query->Params->Items[0]->AsInteger=1;


it's oracle database, and when I ExecSQL() it gives me access
violation
exception
in SQLORA8.DLL

well to the CHANGE_CUSTOMER procedure Param1 is in value of NUMBER.
thanks for help








Back to top
Jayme Jeffman Filho
Guest





PostPosted: Fri Oct 22, 2004 2:50 pm    Post subject: Re: TQuery +stored proc Reply with quote

Hello George,

I'm sorry. My answer was to another thread.

Jayme.

"George" <jjio (AT) mail (DOT) ru> escreveu na mensagem
news:417900f5 (AT) newsgroups (DOT) borland.com...
Quote:
Jayme, thanks for answer...
but I don't have any blob fields in my database,
Param1 is integer, which I need to pass to my CHANGE_CUSTOMER function...



"Jayme Jeffman Filho" <jaymenosp (AT) jeffman (DOT) eng.br> wrote in message
news:417807c8 (AT) newsgroups (DOT) borland.com...
Hello George,

I've never dealt with image blob fields, but I know it's not an easy
task. Have a look on TBlobStream::Read in the help file it might
help you.

HTH

Jayme.

"George" <jjio (AT) mail (DOT) ru> escreveu na mensagem
news:4177bcca (AT) newsgroups (DOT) borland.com...
query->SQL->Clear();
query->SQL->Add("execute procedure CHANGE_CUSTOMER(:Param1)");
query->Params->Items[0]->AsInteger=1;


it's oracle database, and when I ExecSQL() it gives me access
violation
exception
in SQLORA8.DLL

well to the CHANGE_CUSTOMER procedure Param1 is in value of NUMBER.
thanks for help










Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) 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.