OVH Cloud OVH Cloud

sql connections

2 réponses
Avatar
Laurent D.
Hi

After using a sql database, I want to detach it .
But some connection are still openned from the application.
My question:
How can I stop those connections ?

2 réponses

Avatar
Kigner
Hello!
sp_who

then take the spid's number of the connection that do you
want to kill
and finally

kill <spid'snumber>

Have a nice continuation!
Avatar
kill (spid's number)