prashantckc Posted January 12, 2011 Share Posted January 12, 2011 Hi AllI need to pass the Entire SQL query as a parameter.Kindly Suggest how can we acheive the same? Link to comment Share on other sites More sharing options...
haiku Posted January 12, 2011 Share Posted January 12, 2011 Create a report parameter that will hold the query - say, P_REPORT_QUERY.Then set the report's query to be this parameter, using $P!{...} syntax instead of just $P{...}. Like this: $P!{P_REPORT_QUERY}. Code:<queryString> <![CDATA[$P!{P_REPORT_QUERY}]]></queryString> 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