Are there any differences between SQL Server and MySQL when it comes to preventing SQL injection?

后端 未结 9 2461
北荒
北荒 2021-02-13 17:21

I am used to developing in PHP/MySQL and have no experience developing with SQL Server. I\'ve skimmed over the PHP MSSQL documentation and it looks similar to MySQLi in some of

9条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-13 17:53

    Any database can be subject to SQL injection attacks. One way to help avoid them is to use Stored Procedures. Both MSSQL & MYSQL support stored procedures.

提交回复
热议问题