H
Harold
Unregistered / Unconfirmed
GUEST, unregistred user!
我以前使用delphi4.0和MS SQLsever6.5编写C/S应用程序,后来我把MS SQLsever6.5升级到了MS SQLsever7.0,但此时SQL中的存储过程不能正确调用。
在BDE Administrator中设置如下:
Databases:
Mybase
Definition:
Type:MSSQL; DATABASE NAME:Mybase; HOST NAME:Mysever;
SERVER NAME:Mysever; USER NAME:Myname.
在delphi程序中,可以用StoredProc1的StoredProcName列出在MSSQL中的存储
过程,在其中选择dbo.use11;1。运行程序,登录MSSQL后出现以下错误信息:
Project unit1.exe raised exception class EDBEngineError with
message 'General SQL error.
Could not find stored procedure 'dbo.use11;1 '.'. Process
stopped. Use Step or Run to continue.
在BDE Administrator中设置如下:
Databases:
Mybase
Definition:
Type:MSSQL; DATABASE NAME:Mybase; HOST NAME:Mysever;
SERVER NAME:Mysever; USER NAME:Myname.
在delphi程序中,可以用StoredProc1的StoredProcName列出在MSSQL中的存储
过程,在其中选择dbo.use11;1。运行程序,登录MSSQL后出现以下错误信息:
Project unit1.exe raised exception class EDBEngineError with
message 'General SQL error.
Could not find stored procedure 'dbo.use11;1 '.'. Process
stopped. Use Step or Run to continue.