阅读背景:

使用参数从Delphi调用SQL Server存储过程?

来源:互联网 

I'm trying to call SP_SPACEUSED from Delphi 2010 using ADO. I can call it without arguments by using TSQLStoredProc, and setting the StoredProcName. This gives me the database size. I now need a specific table size, and SP_SPACEUSED takes a single arugument, @objname. How do I pass this as an argument. I have tried passing this as a parameter, but this doesn't work. Is it a parameter? Can I do this from Delphi?I'm trying to call SP_SPACEUSED from Delphi 201




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: