title: Adding single quotes to a string returned from UI in SQL Server
body: <p>I have a string passed from the UI to SQL Serever stored procedure as </p>
  
  <pre><code>Customer_name = xyz and loc = dfg and area= kmn
  </code></pre>
  
  <p>I need to code it in such a way that my final result should be </p>
  
  <pre><code>Customer_name = 'xyz' and loc = 'dfg' and area= 'kmn'
  </code></pre>
  
  <p>and if the input string from UI is </p>
  
  <pre><code>Customer_name = xyz and loc = dfg
  </code></pre>
  
  <p>then </p>
  
  <pre><code>Customer_name = 'xyz' and loc = 'dfg'
  </code></pre>
  
  <p>Any suggestions?</p>