You can view the statement text of a cached statement using the show_cached_text function. This function uses the statement ID as input and displays the text and parameter information of the corresponding statement.The syntax is:
show_cached_text(int SSQLID)