Textbox and Apostrophe
Hi, I am using the MSSQL Plugin. I am capturing user information on a custom page with text boxes. I save the user's input to variables to be used later in a SQL statement.
The problem that I am having is if the user inputs information into the text box with an apostrophe, i.e. "Jason's". It works fine if the user doesn't use an apostrophe, but I want to cover the possibility that they might.
Here is my code:
MSSQL_OLEDB::SQL_Execute /NOUNLOAD 'UPDATE DatabaseName.dbo.TableName SET ColumnName = "$SCHOOLDISTRICT" WHERE AnotherColumn = "SomeValue"'
Thanks.