Ask the Expert

Executing a VB procedure from an Oracle trigger

How do I execute a procedure or function written in VB from an Oracle trigger?

    Requires Free Membership to View

Unfortunately, Oracle does not include any native way to execute VB code from within the database. This includes triggers, functions, procedures, and any PL/SQL block. Oracle does provide the ability to run external C++ routines and Java within the database. In order to run the VB code, you'll have to make your trigger run either an external C++ routine or Java and then have that routine run your VB code as host callout. The AskTom Web site has some good examples of both of these.

For More Information

This was first published in April 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: