sql-server-2008 – “无法找到存储过程”,即使已在MS SQL Serve
发布时间:2021-05-17 18:52:11 所属栏目:MsSql教程 来源:网络整理
导读:我在数据库testbase中创建了一个表testtable,它具有以下结构: product_no (int,not null)product_name (varchar(30),not null)price (money,null)expire_date (date,null)expire_time (time(7),null) 我使用的是Microsoft SQL Server 2008 Management Stu
我在数据库testbase中创建了一个表testtable,它具有以下结构: product_no (int,not null) product_name (varchar(30),not null) price (money,null) expire_date (date,null) expire_time (time(7),null) 我使用的是Microsoft SQL Server 2008 Management Studio. 我创建了一个存储过程testtable_pricesmaller,如下所示 use testbase go create procedure testtable_pricesmaller @pricelimit money as select * from testtable where price = @pricelimit; go 并能够在Microsoft SQL Server Management Studio的对象资源管理器上查看存储过程. (它在对象资源管理器的以下树结构中列出) Databases + testbase + Tables + dbo.testtable + Programmability + Stored Procedures + dbo.testtable_pricesmaller 当我收到以下错误时,我觉得很奇怪: Could not find the stored procedure 'dbo.testtable_pricesmaller'. 当我执行以下SQL语句时: execute dbo.testtable_pricesmaller 50 它会丢失什么? 解决方法IntelliSense刷新本地缓存应该修复它(编辑:广州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- sql-server – 如何在T-SQL / SQL Server中为超级/子类型(继
- SQL计数连续几天
- sql-server – SQL Server需要分区数据,但只有标准版
- SQL Server数据库中如何创建表的相关约束?
- 在ASP.NET 2.0中操作数据之五十六:使用ObjectDataSource缓
- 《数据王》——为国产软件添光彩!
- 带有last_insert_id()的Mysql多行插入 – 选择语句
- 警惕!本周十三日小心“杀手十三”蠕虫病毒
- ASP.NET MVC+EF在服务端分页使用jqGrid以及jquery Datatabl
- 在ASP.NET 2.0中操作数据之五十四:添加新记录时包含一个文
站长推荐
热点阅读