title: SAS Macro Variable having commas to be converted to single quotes with commas
body: <p>Could someone help me how I can get a macro variable updated with single quotes. </p>
  
  <p>I am getting numbers as comma separated values from a Dataset like below:</p>
  
  <p>2108008080, 2108008081, 2108888082, 2108858090, 213856345 etc 
  I have to pass each of these records in a SQL where condition as Phone_numbers in (&amp;current_macro_variable). To do this I have to add single quotes around each value as the Phone_numbers columns is a character field of Oracle DB. </p>
  
  <p>Any help is highly appreciated. I could not get much help from SAS communities. </p>