Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mismatch error

Status
Not open for further replies.

gusc999

Technical User
Joined
Nov 20, 2007
Messages
42
Location
US
I have to two tables one has 2800 records the other one has 166 records. I have to join the tables by the item field. The 166 record table has duplicate item numbers which are need. When I create the join I get a mismatch error. I tried the left and right joins but it doesn't work. Can someone help me on identifing what is casuing the mismatch.

SELECT RPT0092_ISP_AS400SQL_SlotItem.Item AS RPT0092_ISP_AS400SQL_SlotItem_Item, WedsFlags.ITEM AS WedsFlags_ITEM
FROM WedsFlags LEFT JOIN RPT0092_ISP_AS400SQL_SlotItem ON WedsFlags.ITEM = RPT0092_ISP_AS400SQL_SlotItem.Item;
 
Mismatch error is usually because you are trying to join number to text fields, or double to long or something.

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top