| |

VerySource

 Forgot password?
 Register
Search
View: 720|Reply: 3

How BCB calls Oracle's package

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-7 18:30:01
| Show all posts |Read mode
How to call Oracle's package in C ++ Builder?
If TStroeProc is used to call the stored procedure, the calling package always establishes the stored procedure calling package first, and then the stored procedure calling package. This has a lot of problems, can you call it directly, please help.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Invalid IP Address

Post time: 2020-5-28 15:45:01
| Show all posts
I remember that it could be called directly with TStroeProc. It seems that I added [package name]. [Stored procedure name] to the stored procedure name.
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-7-16 18:45:01
| Show all posts
I have used it like this, it is not easy to use, and the parameters can not be passed in.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Invalid IP Address

Post time: 2020-7-20 17:30:01
| Show all posts
It should be possible, you can try dynamic assignment. I used TADOStoredProc
E.g:
        ADOStoredProc1->ProcedureName="pkg_test.get";
        ADOStoredProc1->Parameters->CreateParameter ...
Now I don't have BCB and Oracle on hand, I have used it before, and it seems to be available.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list