简体   繁体   中英

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

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. According to the Microsoft SSDT is coming preloaded with VS2015, but there is no option to add a new table. Am I missing something?

在此输入图像描述

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

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 .

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" :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM