SQL Server could not find stored procedure 'show'

别说谁变了你拦得住时间么 提交于 2019-12-10 21:04:19

问题


I can't use the most basic procedure, show, as it throws an error:

Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'show'.

I used:

SHOW DATABASES

Please help me find answers to this issue.


回答1:


To list all Databases in SQL Server,

Select * from sys.databases 

To exclude in-built DBs,

Select * from sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb'); 



回答2:


Try to refresh local Cache which is under the Intellisense.



来源:https://stackoverflow.com/questions/38133960/sql-server-could-not-find-stored-procedure-show

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!