Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
PatMc
Starting Member
16 Posts |
Posted - 2010-07-22 : 13:46:51
|
| Hi All,My Sql skill is not that good but i need to write a query to get data from 2 tables. i have tried using joins and just simple selecting but my issue seems to be that the data types do match i guess.Basically here is what I need to do I have 2 tables 1 called members and the other called transfers in the members tables I have a column called DomainName that is datatype of nvarchar 255. In transfers i have a column call DomainID that is datatype int 8. So what it is the the data in these 2 tables look like this in Members it is pat@nic.nu and in Transfers it is 567849. This data stands for the same thing 1 is just a number the other is letters. So how can i write a query that will show both the DomainID and DomainName in the output.ThanksPat |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-07-22 : 15:48:06
|
Please givetable structure,example data,wanted output.With the given informationen we can't help. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|