954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to Execute stored procedures in a javascript or vbscript function

Hello Everyone,
I want to write a code in ASP where on a button click, a function(wrtten in eighter java or vb script) will be called . The function will execute a stored procedure which will be used to insert and delete
records in a SQL database.
I wanted to ask if this is feasible and how it can be done.

Thanks in Advance
Atul

AtulKulkarni
Newbie Poster
11 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

it's not tough,
just create a variable and store it like other string e..g

SQLQUERY= "SELECT ProductName FROM PRODUCTS"
DbObj.Execute(SQLQUERY)

vishesh

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You