Hi this very interesting thing to know the name of current database in sql server
Plz check the query
It was very simple script
.
Plz check the query
It was very simple script
.
SELECT DB_NAME() AS DataBaseName
It will give you the name the database you are running using while running the query.
No comments:
Post a Comment
Thank You !!!!