Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored Procedure calling

Status
Not open for further replies.

inutelinside

Technical User
Apr 28, 2005
41
US
can we call a stored procedure via client scripting? How?

I want my stored procedure called before unloading or closing the window.
 
Well that depends on what you are trying to achieve - which you've not told us.

If you need to call SQL commands, or access a SQL server, you would normally use server-side scripting. If you are using ASP with JScript, this is definately the right place to ask. If not, you should probably ask in the forum related to whatever server-side technology you are using (ASP/VB, JSP, PHP, CFM, etc).

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
As Dan mentions, there are server-side solutions... and you can trigger these using javascript (client-side). One method is to use AJAX... but basically all these "work arounds" provide is a means to run some server-side code.

So you can achieve the same thing with Javascript... using server-side code and triggering it using AJAX techniques.

Cheers
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top