Query Gm acc + Chra ID

02/07/2014 15:39 tk69ok#1
Hello,
as the title say i need a query to get ChraID + all Gm Account in my DB,i try look in google match and i cant found any,waiting help ppl plz :).

UPppppppppppppppppppppppppp
02/09/2014 07:52 tk69ok#2
upppppppppppppppppppppppppppppp help omg ?
02/09/2014 08:06 Snow*#3
I hate sql. Hope this help you out
[Only registered and activated users can see links. Click Here To Register...]
02/09/2014 13:02 tk69ok#4
thank you snowstorm,but i need to get CharID by chra name not chra name by CharID,hope you help again thanks match.
02/09/2014 13:33 Zodiao#5
USE [SRO_VT_SHARD]

Select CHARID from _Char where CharName16 like '%%%%%'
02/12/2014 18:55 tk69ok#6
Thanks all for help Respect
02/13/2014 13:29 Yui..#7
this will help you :)

Quote:
SELECT _Char.CharName16
, TB_User.StrUserID
, TB_User.sec_content
, TB_User.sec_primary
FROM
FEAR_VT_SHARD.dbo._User
INNER JOIN FEAR_VT_SHARD.dbo._Char
ON _User.CharID = _Char.CharID
INNER JOIN FEAR_VT_ACCOUNT.dbo.TB_User
ON _User.UserJID = TB_User.JID
where sec_primary =1