Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: is it possible to force the drop of a database

$
0
0

sometimes the output of "sp_who" limits (truncates) the size of the database name in it's output. 

 

so, you might want to shorten your search string:

 

sp_who

go | grep 'ANDREAS'

 

 

A better way would be to query the sysprocesses table:

 

select spid,suser_name(suid),hostname,program_name,db_name(dbid)

from master..sysprocesses

where dbid = db_id('ANDREAS_20150511')


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>