Microsoft
Software
Hardware
Network
Question : Matching data from multiple tables
Hi guys
I have a database with multiple tables and in this case i am looking at 3 in particuler. named
1. dbo.sendersreference
2. dbo.despatch
3. dbo.despatchitem
in table 1 i am pulling the colum named "SendersReference"
in table 2 i am taking the colums named ItemAddressee, AddressLine1, Postcode, CreatedDate
in table 3 i am taking the colum named "Barcode"
all 3 tables have a colum named "DespatchID" which is colum 1. so the number in the colum pairs to its relative data in the other tables. my question is, how do i create a query that pulls all the relevant data based on a search by ItemAddressee. here is what i have so far
Select ItemAddressee, AddressLine1, Postcode, CreatedDate, Barcode, SendersReference FROM dbo.despatch, dbo.despatchitem, dbo.sendersreference WHERE ItemAddressee Like (''%' + edit1.text + '%'')
the edit box is where i am specifying a partial name within a delphi form
kind regards
steve
Answer : Matching data from multiple tables
check that you do not have an entry in /etc/hosts for your windows pc. if you do, remove the entry.
Random Solutions
VPN traffic need (Policy) NAT to internal IP
SNMP on Server 2008
Unable to receive email forwarded into Lotus Domino 8 from Exchange Server 2007
Roaming Profile
Gridview RowSelected - Controlling state of other rows
return double array in Delphi call to c++
SSIS reuse the object variable
How to update Hyperlinks in Excel 2003?
How to copy folders/files between computers and preserve modified date ?
jQuery or JS - Checkbox set/unset in an array?