You can execute the LIST CQ statement to view the details of continuous queries.
Syntax
LIST CQ;Examples
LIST CQ;The following result is returned:Query ID | Stream Topic | Query String
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CETAS_USERS_EXTERNAL_TABLE | USERS_EXTERNAL_TABLE | INSERT INTO ErrorStream SELECT log4j FROM Log4ErrorWarningStream log4j WHERE log4j.level = 'ERROR'
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------