Solved

How to call an oracle stored procedure from a javascript function?

Posted on 2008-10-10
1
1,502 Views
Last Modified: 2013-12-18
I have a number of parameters that I want to pass to stored procedure and I want to display the results in a listbox on the aspx page.  How do I connect to an Oracle db in javascript?
0
Comment
Question by:xdubit
1 Comment
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 350 total points
ID: 22687251
You can't do that. The javascript executes on the client computer, the oracle database is only accessible from your server.

You can however use AJAX to call something on the server, and this server-script could access the database and return the results to the javascript.
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
EXECUTE IMMEDIATE 5 66
Clone Oracle 12c Database 5 52
Export table into csv file in oracle 10 74
database upgrade 8 70
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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

805 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