Solved

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

Posted on 2008-10-10
1
1,504 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
SQL query question 8 92
PL SQL Developer 7 53
Email query results in HTML 6 29
update using pipeline function 3 20
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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to recover a database from a user managed backup
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 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