5793 Limit on the number of host variables in USING modifier exceeded

Database
Junior Contributor

Re: 5793 Limit on the number of host variables in USING modifier exceeded

The macro source code is larger than 13k and then it's not stored in dbc.tvm, I forgot about that.

Try

SELECT TextString
FROM dbc.TextTbl 
WHERE TextId IN
 ( SELECT tvmid
   FROM dbc.tvm 
   WHERE tvmname='DBQLUtilityTblIns'
AND TextType = 'C' ) ORDER BY LineNo