G
Guest
Hi.
We have two systems that need to queried on. One is in MS Access 2003 and
the other is in SQL Server 2005. We have Long Integer ID fields in the SQL
Server 2005 to allow the link to Access.
I'm having a real tough time trying to create queries in Access using SQL
Server 2005 and Access tables as sources of data. eg. If I need to have one
table in Access link to another in SQL via the Long Integer, that's fine, but
if I need the SQL table to then link to another SQL table via the GUID then
it returns no data?!?!?
Unfortunately the SQL Server tables have GUID primary keys, so when you join
tables together and add where clauses, it brings back no data. If you perform
Left or Right joins then it only brings back data for the tables that you
apply where clauses to.
I've created views but you then either have the view so large to handle all
the queries that need to use it, which slows it down or you have so many
views that you don't know what each really does.
I've also had many problems joining Access tables that have a primary key as
a Replication ID data type to the SQL Server 2005 tables as well.
Does anyone know what either the Office Team or the SQL Server Team are
doing about GUID interoperability?
We have two systems that need to queried on. One is in MS Access 2003 and
the other is in SQL Server 2005. We have Long Integer ID fields in the SQL
Server 2005 to allow the link to Access.
I'm having a real tough time trying to create queries in Access using SQL
Server 2005 and Access tables as sources of data. eg. If I need to have one
table in Access link to another in SQL via the Long Integer, that's fine, but
if I need the SQL table to then link to another SQL table via the GUID then
it returns no data?!?!?
Unfortunately the SQL Server tables have GUID primary keys, so when you join
tables together and add where clauses, it brings back no data. If you perform
Left or Right joins then it only brings back data for the tables that you
apply where clauses to.
I've created views but you then either have the view so large to handle all
the queries that need to use it, which slows it down or you have so many
views that you don't know what each really does.
I've also had many problems joining Access tables that have a primary key as
a Replication ID data type to the SQL Server 2005 tables as well.
Does anyone know what either the Office Team or the SQL Server Team are
doing about GUID interoperability?