栋
栋栋
Unregistered / Unconfirmed
GUEST, unregistred user!
Delphi如何使用SQL2000的存储过程
如
CREATE PROCEDURE USER_LOGIN
@XM nvarchar(50),
@MM nvarchar(50)
AS
IF EXISTS(SELECT * FROM DIRECT_USER WHERE XM = @XM AND MM = @MM)
RETURN 1
ELSE
RETURN 0
GO
如何使用呢?
如
CREATE PROCEDURE USER_LOGIN
@XM nvarchar(50),
@MM nvarchar(50)
AS
IF EXISTS(SELECT * FROM DIRECT_USER WHERE XM = @XM AND MM = @MM)
RETURN 1
ELSE
RETURN 0
GO
如何使用呢?