Hi Joel,
I tried to run the query at my system in ASE 15.7 and I was able to run it without any error.
The possible reasons can be
1) May be post upgrade some the MDA tables structures have not been changed.
2) Could be the install master is not run after the upgrade.
I would request to run the below queries:
select InstanceID, SSQLID, show_cached_text(SSQLID), Hashkey, UseCount, StmtType from monCachedStatement
go
Best Regards,
Ankitha