Solved

STORED PROCEDURE

Posted on 2007-04-04
3
835 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can i Import Access Table Into Oracle Using Toad 36 228
Oracle SQL - Query help 7 68
Database Design Dilemma 6 58
why truncate is faster than delete in oracle ? 4 27
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

832 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