sql server 2k的储存过程怎么用参数?(50分)

P

pascal!

Unregistered / Unconfirmed
GUEST, unregistred user!
在SQL2K已有过程:
CREATE PROCEDURE [dbo].[GuestList] @who int AS
SELECT [DateTime], Status, Department,Person
FROM dbo.GuestRecord
WHERE(Person= @who) and (Status = 2 OR
Status = 1)
GO

用D7的DBEXPRESS连接时@who这个参数怎么设置?
偶总不行,用ADO就没问题,有用过的大虾请指教一二。
 
查看帮助吧或看书
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
724
import
I
S
回复
0
查看
828
SUNSTONE的Delphi笔记
S
D
回复
0
查看
774
DelphiTeacher的专栏
D
顶部