ServerDev Development Community

We Want You (Editors, Developers) Let's Code
 
HomeRegisterLog in

Share | 
 

 SQL Account for Creating New Account

Go down 
AuthorMessage
REGINE
Administrator
Administrator
avatar

Posts : 60
Join date : 2013-09-08
Age : 20

PostSubject: SQL Account for Creating New Account    Tue Feb 25, 2014 4:51 pm

Code:

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER  FUNCTION [dbo].[fn_md5] (@data varchar(255))
RETURNS CHAR(32)  AS 
BEGIN
   return SUBSTRING(master.dbo.fn_varbintohexstr(HashBytes('MD5', @data)), 3, 32)
END


Exec dbo.cabal_tool_registeraccount 'yourusername' , 'yourpassword'
Back to top Go down
http://serverdevelopment.forumtl.com
 
SQL Account for Creating New Account
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
ServerDev Development Community :: Cabal Online :: Cabal Guides & Templates-
Jump to: