Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't That how your supposed to do it using Sprocs is more time consuming but it does have several advantages from security and performance.


There's no way you're "supposed to" do it. There are tradeoffs and you pick the approach you like most given those tradeoffs.


Not sure id agree 100% with you for standard LOB CRUD applications the use of Sprocs is best practice.

Obviously if your just writing a tool that will be used 2 or 3 times that - you can make trade offs - but you should never use $sql = "SELECT * FROM tblBobbins"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: