I\'m looking for the alternative of mysql_real_escape_string() for SQL Server. Is addslashes() my best option or there is another alternative funct
mysql_real_escape_string()
addslashes()
If you are using PDO, you can use the PDO::quote method.