Connect to remote sql database using excel

前端 未结 4 742
执念已碎
执念已碎 2020-12-19 23:04

I\'m using SQL Server 2008 R2 and Microsoft Excel.

  • I have the server set up to be logged in via Windows user or database user
  • I can
4条回答
  •  一生所求
    2020-12-19 23:32

    The syntax for connecting through excel is \INSTANCENAME (Where INSTANCENAME is not needed if you have installed a default instance).

    This means in Excel you should go Data - From other sources - SQL Server - type in IP only as what you want to connect to. Once there, you will get options to connect to a specific database and table.

提交回复
热议问题