[Procedure] TCharCount by Glossy

02/10/2013 17:13 glossypvp#1
Hi,
I have just created a little MSSQL procedure with counts the characters on your server and display the value.

Code:
Code:
/*
TCharCount procedure by GlossyPvP / Holy
*/

ALTER PROCEDURE [dbo].[TCharcount]
AS
BEGIN
Declare @Cou varchar(10)
Declare @Num nvarchar(100)
SET @COU = (SELECT COUNT(*)AS TCharCount FROM TChartable);
SET @Num = 'Number of characters: ';
Print @Num + @Cou
END
Instructions:
Go to TGAME_GSP => dbo = > Functions.
Then right click, New Function . Then give a name, and select 'Procedure'.

Peace!
02/10/2013 18:26 --N0N€--#2
Nice job ^^
02/10/2013 18:40 Cris9400#3
goode job
04/21/2013 19:28 .WshbR'#4
Was bringt das?
What does it do?
04/21/2013 19:54 glossypvp#5
It will count how many chars do you have on your server.
04/21/2013 21:31 .WshbR'#6
And how many chars do you have in this code?