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>
24 lines
393 B
Transact-SQL
24 lines
393 B
Transact-SQL
ALTER TABLE AdminTool..TblRestraintChar
|
|
ADD idx int IDENTITY(1,1) NOT NULL
|
|
GO
|
|
|
|
ALTER PROC USPDeleteRestraintChar @SeverID tinyint,@nidx INT
|
|
AS
|
|
|
|
|
|
SET NOCOUNT ON
|
|
|
|
|
|
IF EXISTS (SELECT UID FROM TblRestraintChar WHERE tinyServerID=@SeverID AND idx = @nidx)
|
|
BEGIN
|
|
DELETE TblRestraintChar
|
|
WHERE tinyServerID=@SeverID AND idx = @nidx
|
|
|
|
SELECT @@ROWCOUNT
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
SELECT -1
|
|
END
|
|
GO
|