SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Related Customers to Orders
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

saltzmanjoelh
Starting Member

10 Posts

Posted - 09/26/2007 :  20:31:41  Show Profile  Reply with Quote
I am trying to link my ORDERS table to my CUSTOMERS table.
The Primary key in the CUSTOMERS table is a UNIQUEIDENT.
The foreign key it is linking to is an INT.

When I run a query in ACCESS, it says type mismatch....

Any solutions?

rrb
SQLTeam Poet Laureate

Australia
1479 Posts

Posted - 09/26/2007 :  21:39:08  Show Profile  Reply with Quote
couple of things - which version of ACCESS - are you linking to a SQL Server or using a .mdb database?

Can you post your query so we can see exactly what you're doing? Eg
select * from orders inner join customers on orders.customerid = customers.id
and also post the exact error message?

--
I hope that when I die someone will say of me "That guy sure owed me a lot of money"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000