OPENROWSET from SQL Server to AS400

  • I am trying to duplicate an Access pass-thru query on SQL Server 2000, but I need help with the syntax.

    I am using the statement below as a template to build my view.

    SELECT a.*

    FROM OPENROWSET('MSDASQL',

    'DRIVER={SQL Server};SERVER=seattle1;UID=manager;PWD=MyPass',

    pubs.dbo.authors) AS a

    ORDER BY a.au_lname, a.au_fname

    My data source is IBMDADB2.1.

    What driver do I use and would the rest of the statement remain the same?

    Thanks

     

  • This was removed by the editor as SPAM

  • You can find a list of connectionstrings at

    http://www.connectionstrings.com/

Viewing 3 posts - 1 through 2 (of 2 total)

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