谁能帮我解决这个问题,我一定给分!

basilisk 2001-06-28 02:13:23
if exists(select * from sysobjects where name='p_Login' and type='P')
drop procedure p_Login
go
create procedure p_Login
(@gh varchar(15),@password varchar(15))
as
begin
declare @MyCount integer
select @MyCount=count(*) from ygxxb where gh=@gh and password=@password
end
我在delphi中调用的时候,出现error creating cursor handle错误,这是什么意思?
...全文
66 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
basilisk 2001-07-03
  • 打赏
  • 举报
回复
来者5分
zjqyb 2001-06-28
  • 打赏
  • 举报
回复
不会是用storedproc1.open;
use storedproc1.execproc
zjqyb 2001-06-28
  • 打赏
  • 举报
回复
你如何调用,
贴出来
m_leaner 2001-06-28
  • 打赏
  • 举报
回复
count(*)用的不对,请查阅sql手册
basilisk 2001-06-28
  • 打赏
  • 举报
回复
统计总记录数啊!
yangjingyu 2001-06-28
  • 打赏
  • 举报
回复
select @MyCount=count(*) from ygxxb where gh=@gh and password=@password

count(*) ?

5,392

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧