Welcome to Sign in | Help

Re: cum aflu numele bazei de date curente

  •  11-13-2007, 3:11 PM

    Re: cum aflu numele bazei de date curente

    SELECT dbid,DB_NAME(dbid) AS CurrentDatabase FROM master..sysprocesses WHERE spid=@@SPID


    Cătălin

    Cătălin D.
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems