Linking Excel as a linked server

  • I have linked a server for an Excel file which have multiple work books. I am trying to find which work books (tables) in the linked server. I looked for this info in Master sysobjects, but it's not there. Can someone please help me to find out this info?

    Thanks in advance,

    Rushdi

  • Rushdi,

    Are you trying to list each worksheet in a single Excel workbook?  If so, once you have established a linked server to the workbook, execute:

    sp_tables_ex <Linked Server Name>

    This will list all worksheets in your workbook as individual tables.

     

    Scott Thornburg

    Volt Information Sciences

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

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