Enterprise Manager Stored Procedures'e girin! ACCOUNT_LOGOUT ve ACCOUNT_LOGOUT2 sağ tıklayarak delete edin. boş bi alanda sağ tıklayarak New Stored Procedure seçin ve alttaki kodları 2 ayrı Procedures olarak yapıştırın
1
CREATE PROCEDURE ACCOUNT_LOGOUT
@AccountID varchar(21),
@nRet smallint OUTPUT
AS
BEGIN TRAN
DELETE FROM CURRENTUSER WHERE strAccountID = @AccountID
COMMIT TRAN
SET @nRet = 1
GO
2.
CREATE PROCEDURE ACCOUNT_LOGOUT2
@AccountID varchar(21),
@nRet smallint OUTPUT
AS
BEGIN TRAN
DELETE FROM CURRENTUSER WHERE strAccountID = @AccountID
COMMIT TRAN
SET @nRet = 1
GO