 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
George Guest
|
Posted: Thu Oct 21, 2004 1:40 pm Post subject: TQuery +stored proc |
|
|
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
|
Posted: Thu Oct 21, 2004 7:02 pm Post subject: Re: TQuery +stored proc |
|
|
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
|
Posted: Fri Oct 22, 2004 12:43 pm Post subject: Re: TQuery +stored proc |
|
|
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
|
Posted: Fri Oct 22, 2004 2:50 pm Post subject: Re: TQuery +stored proc |
|
|
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 |
|
 |
|
|
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
|
|