From my web app I want to give the user the full power of CONTAINS in a full text search however it's very easy for a user to enter an invalid string such as a phrase that's not in quotes.
I could laboriously parse the input and work out whether it's valid or I could handle the syntax error that comes back from SQL.
But are these the only two options? Is there anything I can use to validate the input?