Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の質問はmysqlで簡単です。database()関数を使用してデータベース名を取得しました
database()
SQL Server に同じことを行う関数はありますか?
DB_NAME()のような関数があります。
DB_NAME()
SELECT DB_NAME() AS DataBaseName
ここを参照