Sybase version: Adaptive Server Enterprise/15.7.0/EBF 22639 SMP SP52 /P/Sun_svr4/OS 5.10/ase157sp5x/3293/64-bit/FBO/Wed May 21 02:49:14 2014
--
Hi community,
I'm using sqsh to connect to my dataserver
I want to drop a database -- after rebooting my dataserver -- but the command failed because it seems somebody is using it
1> drop database ANDREAS_20150511
2> go
Msg 3702, Level 16, State 14
Server 'NY423ZN', Line 1
Cannot drop the database 'ANDREAS_20150511' because it is currently in use.
But when I do a 'sp_who' I cannot see any connection into it
1> sp_who
2> go | grep ANDREAS_20150511
1>
How can I find out my guilty connection? How can I drop it
Just to add an exotic thing. I'm working on migration project and my task is to fine-tune the system to make them fast.
One option I'm trying is to have my log segment on a ram-disk (I know, very dangerous) just for the time of the conversion. As soon as the conversion is finished, I reload my DB on disk devices.
My database has indeed one of its device on a ram-disk so I understand it's no usable anymore but I just want to get rid-off it.
How can I proceed?
Thanks
Simon