|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, December 05, 2012 7:23 AM
Points: 304,
Visits: 457
|
|
i have the link server set up properly and had the select correct however got sidetraked and lost my query that worked and dont recal how i got it to work.
here's what i have now
select * from openquery( LOCALXML_PROD, 'select * from [localxml]..[claimed_business_record]' )
the linked server name = LOCALXML_PROD
does anyone see any obvious syntax errors. i get the below error: OLE DB provider "MSDASQL" for linked server "LOCALXML_PROD" returned message "[MySQL][ODBC 3.51 Driver][mysqld-5.1.36-community-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[localxml]..[claimed_business_record]' at line 1". Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from OLE DB provider "MSDASQL" for linked server "LOCALXML_PROD".
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, December 05, 2012 7:23 AM
Points: 304,
Visits: 457
|
|
nevermind i got it. no .. between db and table, no brakets and case sensative
'select * from localxml.claimed_business_record'
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Friday, November 09, 2012 12:51 AM
Points: 429,
Visits: 187
|
|
This is the only place I found this solution!!! I had the excat same problem and you saved my day!!! Very much appreciated.
Thanks you John
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, April 05, 2013 6:22 AM
Points: 35,
Visits: 76
|
|
|
|
|