CodyKrafft Posted July 16, 2020 Share Posted July 16, 2020 Hi, Querys take longer in Jaspersoft then other query tools. My current theory is parameters from Jaspersoft could be the thing throwing off the query optimizer and taking longer than DBViz because of the '?' that is passed in the query. Is there a way to substute the '?' for something else when the query is built?Thanks, Examplequery in Dataset query and Dialog box SELECT TOP 1COL1,COL2,COL3FROM TABLE1WHERE COL1 = $P{P1} AND COL2 LIKE $P{P2}Query Sent SELECT TOP 1COL1,COL2,COL3FROM TABLE1WHERE COL1 = 1 AND COL2 LIKE '?' 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