You can get current database name using In Built SQL function "DB_NAME()".
SQL Query :
Output :
This is the very useful SQL Server Scripts.
Note : Give Us your valuable feedback in comments. Give your suggestions in this article so we can update our articles accordingly that.
SQL Query :
SELECT DB_NAME() AS DataBaseName
Output :
This is the very useful SQL Server Scripts.
Note : Give Us your valuable feedback in comments. Give your suggestions in this article so we can update our articles accordingly that.
No comments:
Post a Comment