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.
我不能使用最基本的过程show,因为它会引发错误:
show
消息 2812,级别 16,状态 62,第 1 行 找不到存储过程“显示”。
我用了:
SHOW DATABASES
请帮我找到这个问题的答案。
要列出 SQL Server 中的所有数据库,
Select * from sys.databases
要排除内置数据库,
Select * from sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb');
尝试刷新 Intellisense 下的本地缓存。