View Single Post
Old 02.09.2006, 21:32   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by pavloco View Post
select Account.account as 'Account',Chars.char_name as 'Charname',Account.last_ip as 'IP' from lin2db..user_account Account (nolock)
inner join lin2world..user_data Chars (nolock) on Account.uid = Chars.account_id
where uid = 914 -- <-- Here the ACCID -> Account ID.
Why you do so hard...

Is more easy...

USE lin2world SELECT char_name FROM user_data WHERE account_id = 914
FidoW is offline