Visual Studio 2015 SQL Server Data Tools missing “Add Table” option

后端 未结 3 1915
无人共我
无人共我 2020-12-19 10:54

I have added a localdb to my project and trying to add tables to it. But I could not see \'Add Table\' item on the menu, there are only \'Refresh\' and \'Properties\' items.

相关标签:
3条回答
  • 2020-12-19 11:30

    Even tough I did the repair and rebooted, still I would not get "Add New Table" I verified that the installation (change, modify) had "Microsoft SQL Server Data Tools" selected.

    I solved the issue by installing the latest version of "Microsoft SQL Server Data Tools" separately. https://msdn.microsoft.com/en-us/library/mt204009.aspx • Download SSDT Product Release for Visual Studio 2012 (link) I installed the package and rebooted the computer. I opened the project, and I was able to select "Add New Table" :-)

    0 讨论(0)
  • 2020-12-19 11:32

    Instead of using "Server Explorer", use "View-->SQL Server Object Explorer".

    Alternatively you could create an SSDT project, add your tables to the project and then deploy, that would be the correct way to do it! Ed

    0 讨论(0)
  • 2020-12-19 11:43

    I have added a localdb to my project and trying to add tables to it. But I could not see 'Add Table' item on the menu, there are only 'Refresh' and 'Properties' items.

    To resolve the issue :

    Go to Control Panel and try repair the software.

    Do not forget to reboot the machine .

    0 讨论(0)
提交回复
热议问题