Files
Client/Server/AdminTool/AdminToolServer/P2_1480_Procedure Alter.sql
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

35 lines
774 B
Transact-SQL

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- ºí·° Çϱâ
ALTER PROC CMS_DoingRestraintChar @ServerID TINYINT,@UID INT, @strClientID VARCHAR(20), @strCharName varchar(16),@Type tinyint,@Kind tinyint,@EndDate varchar(10),
@AdminID VARCHAR(20),@Description VARCHAR(50)
AS
SET NOCOUNT ON
DECLARE @EndDateTime INT
IF @strCharName IS NULL
BEGIN
SET @strCharName = 'Unknown'
END
SET @EndDateTime = cast(@EndDate as INT)
INSERT INTO TblRestraintChar (tinyServerID,UID,strClientID,strCharName,tinyType,tinyKind,tinyBlocked,dateEndTime,strAdminID,strDescription)
VALUES (@ServerID,@UID,@strClientid,@strCharName,@Type,@Kind,1,GETDATE() + @EndDateTime,@AdminID,@Description)
SELECT @@ROWCOUNT
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO