2004 IR Help Posted August 30, 2006 Share Posted August 30, 2006 By: Bruno R. Lima - iceboyy Parameters as Column Name on query 2004-03-10 13:13 Is it possible to create a parameter with the column names you whant to retrieve, and put it into the query ? Like: Param: PARAM_COLS Query: Select $P{PARAM_COLS} from table Is it possible to do it ? I tryied to do, and put the parameter as String, but it creates Varchar values on my query. Thaks Bruno By: Giulio Toffoli - gt78 RE: Parameters as Column Name on query 2004-03-10 14:37 Yes, you must use a different syntax: instead $P{MyParameter} use $P!{MyParameter} Please note the ! character. Giulio Link to comment Share on other sites More sharing options...
javaiiispl Posted May 2, 2011 Share Posted May 2, 2011 Thanks it work fine.. RegardsJavaiiispl. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now