0

Hello . I need to run a select using a separator for the fields to make a sql spool WHEN use static character ;

So I do: select < % = odiRef.getColList ( " " , " [ EXPRESSION ] ',' || ' , ' || " , " " , " " ) % > from < % = snpRef.getFrom ( ) % > Now if I try to replace ' || ' , ' || " with a odiRef.getOption not working .

Some of you have already had a similar problem ?

messinese90
  • 11
  • 1
  • 5

1 Answers1

0

try this:

select <%=odiRef.getColList("", "[EXPRESSION]", **"||'" + odiRef.getUserExit("option_name") + "'||"**, "", "")%> from <%=snpRef.getFrom()%>

Umair
  • 6,366
  • 15
  • 42
  • 50