adspace


How do I kill a query in postgresql?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how to start mysql server? : Sql dba

1279


Can we use distinct and group by together?

1146


how to escape special characters in sql statements? : Sql dba

1124


what is sql server agent? : Sql dba

1188


Can we rollback truncate?

1083


Does group by remove duplicates?

1120


How do I remove duplicates in two columns?

1202


what are all the common sql function? : Sql dba

1141


what is collation? : Sql dba

1242


Do we need to rebuild index after truncate?

1151


Is primary key clustered index?

1026


define sql insert statement ? : Sql dba

1108


What is the current version of sql?

1106


Is inner join faster than left join?

1287


What is your daily office routine?

2351