[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2008-10-10
1
Medium Priority
?
1,524 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 1050 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Suggested Courses
Course of the Month18 days, 20 hours left to enroll

834 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