Connect to ODBC Datasource in Query Analyzer

  • I need to query an ODBC datasource that is accessible via TSQL. It is not SQL Server however.

    I have this setup as a Linked Server in SQL, and can use it within DTS and other 'All Task' wizards. I just need to use this within Query Analyzer. Unfortunately, it does not seem to accept the connection.

    In general, whether I have something setup as Linked Server or not, is there a way to connect to an ODBC source from within QA?

    Thanks in advance!!

  • Did you try OPENQUERY, OPENROWSET?

    _____________
    Code for TallyGenerator

  • Thank you Sergiy. I came to post my resolution as using OPENQUERY and saw your post. Thanks a lot!

  • Now for the second part of my challenge. How should I be able to INSERT into a table associated with the Linked Server?

    Again, I can get this to work in DTS, but I need to be able to do this within a Stored Procedure.

    Thanks!!

  • I believe I have this figured out. I had to find the right combination to access the schema on the source.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply