How do I kill a query in postgresql?



How do I kill a query in postgresql?..

Answer / Raju Sharma

To kill a query in PostgreSQL, you can use the KILL or CANCEL command followed by the query's process ID (PID). You can find the PID using commands like pgAdmin's 'Activity' tab or the `ps` command if you have access to the server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

how can we find the select statement is indexed or not?

3 Answers   CTS,


What is a common use of group by in sql?

1 Answers  


List and explain the different types of join clauses supported in ansi-standard sql?

1 Answers  


how can we know the count/number of elements of an array? : Sql dba

1 Answers  


Explain what is sql*plus?

1 Answers  


what is denormalization. : Sql dba

1 Answers  


What is difference between my sql and sql?

1 Answers  


Is trigger a stored procedure?

1 Answers  


Can sql developer connect to db2?

1 Answers  


What is sql*plus?

1 Answers  


What is sql key?

1 Answers  


Can ddl statements be used in pl/sql?

1 Answers  


Categories