I am trying to store a string or nvarchar(500)
in SQL. When I pass a full file path as a string parameter, there is an error unrecognized escape sequence.
Since path is not an usual param that this stored procedure expects, how can I open this possibility so it can accept string such as c:\foldername\subfoldername
. Am I suppose to add @
at the begging of a string or use a StringBuilder?
Thanks