First of all, thanks to Shaco for Name Hack Release.
But, I have problem..
I wanted to know, I have to insert it in the end :
DECLARE @Ret int
SET @CharName = LTRIM(RTRIM(@CharName))
SET @Ret = 0
DECLARE @charcheck AS INT
SET @NameCnt = (SELECT ISNULL(COUNT(*),0) FROM Chars WHERE CharName=@CharName AND Del=0)
SET @charcheck = PATINDEX('%[^a-zA-Z0-9]%',@CharName)
IF @charcheck > 0
RETURN -1
what is the problem ? I click to Execute and I have error Message .. Any idea ?
Thanks.
Sorry For my bad English






