on 03-09-2010 9:40 PM
When I add 130 materials to a param2 in a fixed query the times out saying fatal error? When I limit this to 100 materials through param 2 it works fine. A direct oracle query with 130 material works fine. Is there a limit to the Param2 in MII for queries? Can this be changed?
SELECT SUM(TABLETCNT) AS TBCNT, SUM(LOTSIZE) AS LOTS, TRUNC(ACTIVITYDT) AS ACTDATE FROM eforms_user.V_YIELD
WHERE ACTIVITYDT > to_date('[Param.1]', 'yyyy/mm/dd')
AND itemno IN ([Param.2])
AND PONO < '000044444444'
GROUP BY TRUNC(ACTIVITYDT)
Where is the timeout? If you are calling this query in an SQLQuery action block in a transaction make sure to increase the timeout setting in the configure dialog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.