Created
February 28, 2020 20:54
-
-
Save p5k6/68528482233d90a4d36b7e548b88c624 to your computer and use it in GitHub Desktop.
gives information behind active cursors in redshift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select stv_active_cursors.userid, left("name", 23), sequence, "text" from stv_active_cursors join stl_utilitytext on stl_utilitytext.pid=stv_active_cursors.pid order by stv_active_cursors.name, stv_active_cursors.pid, stl_utilitytext.starttime, sequence; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment