SQL Privileges
The complete (meta) data about SQL
Translate
Tuesday, February 19, 2013
SQL SERVER Get Current Database Name
SELECT
DB_NAME
()
AS
DataBaseName
It will give the name of the database that currently running while running the query.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment