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.
データベース サーバーから 1 つのデータベースを検索しようとしています。サーバー上に 22 の異なるデータベースがあります。私は使っている:
select [name] from sys.databases
しかし、これは 22 個の名前すべてを返します。「LightBulb」という特定のものだけが必要です。
ひょっとして知ってる人いる?その間、私は努力を続けます。
ありがとうございました。
select [name] from sys.databases where [name] = 'LightBulb';