![]() |
|
|||||||
| Kayıt ol | Albümler | Bloglar | Yardım | Takvim | Gruplar | Etiketler | Arama | Bugünki Mesajlar | Bütün Forumları okunmuş kabul et |
|
|
| Server Kurulumu Private serverlar için gerekli olan dosyalar ve gerekli bilğiler ile ilgili paylaşım bölümümüz.. |
![]() |
|
|
Konu Araçları | Stil |
|
|
#1 (permalink) | ||
|
SenSizOlmuYoR
![]() ![]() Üyelik tarihi: Haz 2008
Nerden: çooKmuu meRaK ediOsnn .. x)
Yaş: 17
Mesajlar: 4.236
Konular: 173
Üye No: 65469
Ruh halim:
Rep Gücü : 528
Rep Puanı : 10226
Rep Seviyesi :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Buyrun Arkadaşlar Uzatmıyım.
Kod:
CREATE PROCEDURE [dbo].[ACCOUNT_PASSWORD_CHANGE] @strUserId varchar(30), @NewPassword varchar(30) AS /* Author : Ceribrio */ DECLARE @strAccountID varchar(30),@RecordCount int SELECT @RecordCount = Count(bCharNum) FROM ACCOUNT_CHAR WHERE strCharID1 = @strUserID OR strCharID2 = @strUserID OR strCharID3 = @strUserID IF @RecordCount = 0 BEGIN PRINT 'Veritabanında ' + @strAccountID + ' Adında Karakter Bulunamadı.' END ELSE BEGIN SELECT @strAccountID = strAccountId FROM ACCOUNT_CHAR WHERE strCharID1 = @strUserID OR strCharID2 = @strUserID OR strCharID3 = @strUserID UPDATE TB_USER SET strPasswd = @NewPassword WHERE strAccountID = @strAccountID PRINT @strUserId + 'Karakterinin Bağlı Bulunduğu ' + @strAccountId + ' Hesabının Şifresi Başarıyla Değiştirilmiştir.' END GO Kod:
EXEC ACCOUNT_PASSWORD_CHANGE 'CHARISMİ','ŞİFRESİ' Bu Kodu Aynı Şekilde Query Analyzer'a Yapıştırın Charın İsmini Yazın ve Yeni Şifresini Yazın Değiştirilmiştir ![]() Birde User Sınırı Nasıl Konulur : Kod:
DECLARE @Authority tinyint DECLARE @Authority2 tinyint DECLARE @Authority3 tinyint DECLARE @Currentuser int delete from currentuser where straccountid = @AccountID select @Currentuser = count(straccountid) from Currentuser select @Authority = Authority from [dbo].[userdata] where struserid = (select strcharid1 from Account_Char where strAccountID = @AccountID) select @Authority2 = Authority from [dbo].[userdata] where struserid = (select strcharid2 from Account_Char where strAccountID = @AccountID) select @Authority3 = Authority from [dbo].[userdata] where struserid = (select strcharid3 from Account_Char where strAccountID = @AccountID) if @Authority > 0 or @Authority2 > 0 or @Authority3 > 0 and @Currentuser > 39 Begin Set @nRet = 0 End |
||
|
|
|
![]() |
| Bu konunun kısa yolunu aşağıdaki sitelere ekleyebilirsiniz! |
| Etiketler |
| 1299, değiştirme, sınırı, user, şifre |
| Konu Araçları | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | son Mesaj |
| User Modeleri | *MeLeK* | IRC | 1 | 21-07-2008 15:35 |
| FunDreamK0 , 1000 User 0 Lag , MükemmeL DB :) | 4.LoweStoneD<3 | Kurulu Serverlar ve Tanıtımları | 10 | 15-07-2008 18:50 |
| DB de user stat hp ayarlamak YARDIM | handsome_emre | Server Kurulumu | 3 | 13-07-2008 20:31 |
| ReptiLeKo User Fazla YOk Ama COk Güsel | anil34anil | Kurulu Serverlar ve Tanıtımları | 3 | 16-06-2008 00:07 |
| Açlık sınırı 622, yoksulluk sınırı 2027 YTL | Bü$Ra | Haberler | 0 | 27-07-2007 02:25 |