Tuesday, March 27, 2012

getting the current database name

Hi.
I'm making some stored procedures in transact sql, but at the momment i'm
needing a command which can help me getting the current database name.
In adavance, thanks a lot.
Eddy.DB_NAME()
Andrew J. Kelly SQL MVP
"Eddy Yepes" <Eddy Yepes@.discussions.microsoft.com> wrote in message
news:AE7173F4-226C-4579-B785-25E2B8F820FA@.microsoft.com...
> Hi.
> I'm making some stored procedures in transact sql, but at the momment i'm
> needing a command which can help me getting the current database name.
> In adavance, thanks a lot.
> Eddy.sql

No comments:

Post a Comment