|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Mon, 10 Jun 2013 @ 16:27:17 GMT
 
 If you mean you want the charval within qotes try this: 
     CALL DBC.SYSEXECSQL (
     'INSERT INTO  ud_gem_ad.proctest
     Select ''' || trim(charval) || ''' FROM chartest;'
     );
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||