A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
How to fix it?
This error occurs when there is a stale/inactive connection and try to run sql query. Close the NewQuery window, verify the database connection and rerun the query in new window.