waltomaley Posted November 17, 2006 Share Posted November 17, 2006 I am trying to create a select statement with whereclause: here is the query select * from $P!{vendingSchema}REPORT_DOWNLOAD $P!{whereClause} order by SUBSCRIBER_ID, CONTENT_TYPE The whereClause is as follows: "where FULFILLMENT_STATUS = Purchased" whereClause is set to java.lang.String. I've tried it with and without prompting Basically the query still works but ignores the where statement all together appreciate any guidance walto Link to comment Share on other sites More sharing options...
waltomaley Posted November 17, 2006 Author Share Posted November 17, 2006 Essentially solved my own problem. The literal Purchased needed to be in single quotes 'Purchased'. I did not use a where clause but a simple where statement of where FULFILLMENT_STATUS = 'Purchased' 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