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 |
|
rwaldron
Posting Yak Master
131 Posts |
Posted - 2007-07-05 : 20:27:57
|
| I have a linked server in SQL 2007 form SQL to DB2.(IBM)If I write a distributed query from SQL to DB2 I get mt data returned.ie:select *from openquery(Movex_Extranet,'Select * From mvxadta.ooline')If I write a Query from SQL to DB2 using the 4-part naming convention linkserver.catalog.schema.objectthen I also get my data returned.ie:select *from MOVEX_EXTRANET.RCHASE5C.MVXADTA.OOLINEMy problem is with the Query Designer in SQL2007.When I right click the first lot of code and select "Design query in editor"The Designer GUI opens up and displays my table in graphical form with all columns selected - Great.But When I repeat this for the code that uses the 4 part namingThe Designer opens up and displays the table but with no columns viewable or available for me to select ??Anyone know what might be causing this to happen.Is it a bug in SQL 2007 ??I have tried linking the server using 2 types of providers ( One from Microsoft & one from IBM) but each time I still cannot see or choose columns in the designer using the 4part naming convention.The 2 providers I tried where.Microsoft OLE DB for ODBC Drivers.IBM DB2 UDB for Iseries IBMDA400 OLE DB ProviderAny help greatly appretiated as I would really love to use the designer using 4part naming convention.Apparently if you read this the it should work ? http://msdn2.microsoft.com/en-us/library/aa225987(SQL.80).aspx#dvmscworkingwithtablesfromdifferentdatasourcesRay |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-06 : 12:39:45
|
| What is SQL 2007?I doubt the query designer can deal with linked servers. If you need help designing a query, then please post your requirements so that can help.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-06 : 12:40:44
|
| I'm locking this topic, since it's a duplicate of your other thread.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
|
|
|