Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 mysql_real_escape_string needed in ms sql

Author  Topic 

micnie_2020
Posting Yak Master

232 Posts

Posted - 2010-04-22 : 22:49:09
Dear Sir,


Anyone have any function similiar like mysql_real_escape_string?? This Built-in function is used to avoid SQL Injection in mysql. I need function like this in mssql; which running in php script.


Thank you.


Regards,
Micheale

PeterNeo
Constraint Violating Yak Guru

357 Posts

Posted - 2010-04-23 : 00:54:16
u can use SP_EXECUTESQL, for more info u can check the sql server books online

"There is only one difference between a dream and an aim.
A dream requires soundless sleep to see,
whereas an aim requires sleepless efforts to achieve..!!"
Go to Top of Page
   

- Advertisement -