I have a field (WASIS below) where I need to accept anything the user types: special characters, single quotes, double quotes, slashes, etc. In order to allow it, I am doing as follows:
INSERT INTO CP_WASIS(IDWASIS, IDCP, IDDeveloper, WASdef)
VALUES (
#wasisid#
, #id#
, #developer#
, '#replace(replace(replace(Wasdef, "”","""","all"),"“","""","all")," – "," - ","all")#'
)
It allows the variable to have single and double quotes, but does not allow it to have slashes. I need the slashes to be accepted too.
How should I write this code to work as I need?