Why would you open yourself up to attack like that? You need to use a serverside language to do it. Pick your flavor from php, Java, .NET, ASP, ColdFusion, etc.
Can I use Javascript to execute a stored procedure in SQL Server?
Direct from JavaScript, no. But you can use Ajax, in combination with a server-side language, to achieve the same result. Ajax is related to JavaScript in much the same way as is DHTML. Try a Google search on Ajax and JavaScript.
Why would you open yourself up to attack like that? You need to use a serverside language to do it. Pick your flavor from php, Java, .NET, ASP, ColdFusion, etc.
Eric
There are legitimate reasons why someone might want to do this. Like writing a TestComplete script in JavaScript.
Bookmarks