Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parameterized queries WITHOUT stored procedures?

Every sample I've seen uses stored procedures. I've adopted an old application written in Classic ASP that uses inline SQL. This is an obvious issue, so I need to convert it to safer code. The client does not wish that I use stored procedures in this application, so is there a way to run parameterized queries without stored procedures?

Thanks

like image 526
Chris Avatar asked Jul 27 '09 12:07

Chris


1 Answers

Yes, there is. Have a look at some of these examples:

http://www.securestate.blogspot.com/2008/09/classic-asp-sql-injection-prevention_30.html http://www.userfriendlythinking.com/Blog/BlogDetail.asp?p1=7013&p2=119&p7=3001

like image 190
AdaTheDev Avatar answered Nov 19 '22 16:11

AdaTheDev