Export SQL to Flat File (Text Format) - Column Value with Space is coming within Double Quotes

Hi All,

I am using Export SQL to Flat File Smart Service where for of the column we have large text value (A paragraph value with spaces) which is enclosed in "" automatically by the Smart service.

Other text values without spaces (E.g. Prakhar_Garg_09_10_2017) is coming perfect without any "" (Quotes).

Please let me know what I am missing here.

 

Thanks

  Discussion posts and replies are publicly visible

Parents
  • If you are getting the values directly from the database when using the Smart Service, you might not be able to use an Appian function. Have you tried using something like: SET Name = REPLACE(Name,' " ', ' ' ) in your SQL code to remove the quotes from that value?
    Otherwise, as Jamal said, you could consider using the stripwith() or cleanwith() functions before you save the values into the database to being with, which would remove this downstream issue.
Reply
  • If you are getting the values directly from the database when using the Smart Service, you might not be able to use an Appian function. Have you tried using something like: SET Name = REPLACE(Name,' " ', ' ' ) in your SQL code to remove the quotes from that value?
    Otherwise, as Jamal said, you could consider using the stripwith() or cleanwith() functions before you save the values into the database to being with, which would remove this downstream issue.
Children