阅读背景:

如何创建可选地搜索列的存储过程?

来源:互联网 

I'm working on an application for work that is going to query our employee database. The end users want the ability to search based on the standard name/department criteria, but they also want the flexibility to query for all people with the first name of "James" that works in the Health Department. The one thing I want to avoid is to simply have the stored procedure take a list of parameters and generate a SQL statement to execute, since that would open doors to SQL injection at an internal level.I'm working on an application for work that is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: