VARCHAR2 datatype max size is 4,000 bytes.

If you really have queries larger than 4000 characters I would suggest to rethink your strategy.