View Single Post
Old 10.11.2006, 21:31   #8
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Here is mine lin_InsertUserLog:
Code:
/****** Object:  Stored Procedure dbo.lin_InsertUserLog    Script Date: 2003-09-20 오전 11:51:59 ******/
/********************************************
lin_InsertUserLog
	add user log data
INPUT
	char_id
	log_id
OUTPUT
return
made by
	young
date
	2003-1-15
change
********************************************/
CREATE PROCEDURE [DBO].[lin_InsertUserLog]
(
	@char_id	INT,
	@log_id	TINYINT
)
AS

SET NOCOUNT ON

insert into user_log( char_id, log_id)
values (@char_id, @log_id)



GO
and lin_UpdateUseTime:
Code:
/****** Object:  Stored Procedure dbo.lin_UpdateUseTime    Script Date: 2003-09-20 오전 11:51:57 ******/
/********************************************
lin_UpdateUseTime
	update character use time
INPUT
	char_id		int,
	usedtimesec	int
OUTPUT
return
made by
	young
date
	2003-03-26

		add usetime set
********************************************/
CREATE PROCEDURE [DBO].[lin_UpdateUseTime]
(
	@char_id	INT,
	@usedTimeSec	INT
)
AS

SET NOCOUNT ON

UPDATE user_data SET use_time = use_time + @usedTimeSec WHERE char_id = @char_id



GO
Do you have the same?
kin is offline