Açık Kaynakta bulunan ve kendi kodlamam olan bazı sql sorgularını sizlerle paylaşıyorum.
IP Sayısı Sorgulama:
Hesapları Sıfırlama Sorgusu:
Ekipman Statüleri Değiştirme Örnek Sorgusu:
IP Sayısı Sorgulama:
SQL:
Use Db_Tank
select ActiveIP,Count(ActiveIP)[Ip Sayısı Adeti]
From Sys_Users_Detail where State=1
Group By ActiveIP
Hesapları Sıfırlama Sorgusu:
SQL:
USE Db_Membership
TRUNCATE TABLE LOG_GETPASS
TRUNCATE TABLE MEM_ACTIVECODE
TRUNCATE TABLE MEM_USERINFO
TRUNCATE TABLE MEM_USERS
TRUNCATE TABLE WEBSHOP_ACCOUNT
TRUNCATE TABLE WEBSHOP_BAG
TRUNCATE TABLE WEBSHOP_LOG
USE Db_Tank
truncate table BoguAdventure_Data
truncate table consortia_apply_userS
truncate table consortia_invite_users
truncate table consortia_users
truncate table dailyloglist
truncate table dice_data
truncate table active_number
truncate table consortia
truncate table item_record
truncate table marry_apply
truncate table pyramid_data
truncate table rename_consortia
truncate table rename_nick
truncate table sys_active_system_data
truncate table sys_user_drills
truncate table sys_user_farm
truncate table sys_user_field
truncate table sys_user_gemstone
truncate table sys_user_info
truncate table sys_user_match_info
truncate table sys_user_rank
truncate table sys_user_treasure
truncate table sys_users_card
truncate table sys_users_christmas
truncate table sys_users_detail
truncate table sys_users_extra
truncate table sys_users_fight
truncate table sys_users_friends
truncate table sys_users_goods
truncate table sys_users_labyrinth
truncate table sys_users_order
truncate table sys_users_password
truncate table sys_users_pet
truncate table sys_users_texp
truncate table sys_vip_info
truncate table user_buff
truncate table user_messages
Ekipman Statüleri Değiştirme Örnek Sorgusu:
SQL:
UPDATE Db_Tank.dbo.Shop_Goods SET Attack='200' ,Defence='100' ,Agility='200' ,Luck='200' ,Property7='270' ,CanTransfer='0'
,Description=N'Aktarılamaz' WHERE TemplateID='7140'