set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
/****** Object: Stored Procedure dbo.lin_LoadAccount Script Date: 2003-09-20 ?? 11:51:59 ******/
/********************************************
lin_LoadAccount
INPUT
@account_id int
OUTPUT
return
made by
carrot
date
2002-06-09
********************************************/
ALTER PROCEDURE [dbo].[lin_LoadAccount]
(
@account_id int
)
AS
SET NOCOUNT ON
if @account_id < 1
begin
RAISERROR ('lin_LoadAccount : invalid account_id [%d]', 16, 1, @account_id)
RETURN -1
end
SELECT top 10 char_id, account_name FROM user_data (nolock) WHERE account_id= @account_id
|