Solved

STORED PROCEDURE

Posted on 2007-04-04
3
841 Views
Last Modified: 2012-08-13
CREATE OR REPLACE PROCEDURE host_command (p_command  IN  VARCHAR2)
AS LANGUAGE JAVA
NAME 'Host.executeCommand (java.lang.String)';


I can create a JAVA STORED PROCEDURE in Oracle using the above in Oracle..Is there any way to create something as below
CREATE OR REPLACE PROCEDURE host_command (p_command  IN  VARCHAR2)
AS LANGUAGE VISUAL BASIC
NAME 'Host.executeCommand (java.lang.String)';
0
Comment
Question by:suhinrasheed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
gvsbnarayana earned 250 total points
ID: 18849288
Visual Basic compiler is not yet included into Oracle core programmes and it's not expected even.
You can create stored procedures in only using Java
HTH
Regards,
Badri.
0
 
LVL 27

Assisted Solution

by:sujith80
sujith80 earned 200 total points
ID: 18849493
External procedures can be written in either C or Java. In a windows environment, You can call a dll using this method.

The following links will be of help.

http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#ADFNS010
http://www.unix.org.ua/orelly/oracle/prog2/ch21_01.htm
0
 
LVL 22

Assisted Solution

by:Ivo Stoykov
Ivo Stoykov earned 50 total points
ID: 18849564
Hello suhinrasheed,

you cannot, but you could use external program to handle what you need...

Regards,

ivostoykov
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question