Unable to create new table in SQL Server 2016 Mgmt Studio [duplicate] - sql-server

I have a shared hosting. I was happy with it. I was creating new databases on its panel and then I was managing my databases with SQL Server Management Studio. I could add new table by right clicking the database with designer.
Database is: SQL Server 10.0.2531 (SQL Server 2008 SP1 I think)
My SSMS details
Microsoft SQL Server Management Studio 13.0.15500.91
Microsoft Analysis Services Client Tools 13.0.1605.86
Microsoft Data Access Components (MDAC) 10.0.10586.0
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.10586.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.10586
I have updated my SSMS to 2016. But now, when I right click on my database, there is no "New -> Table menu". The right-click menu is only "Filter, Start Powershell, Report and Refresh"
Now I can create new table by New Query menu (by writing query), but where is my "New -> Table menu"? Is this a security issue ?

There is a bug reported for this issue
connect.microsoft.com
social.msdn

In SSMS you can use a SQL script to create a new table because that processing is done on the server. However, SSMS provides the capability to add a table, here the User interface has to be developed to provide the necessary features for each version of SQL Server, this obviously has an overhead. So gradually older versions get dropped.
SSMS for SQL 2012 did not provide support for SQL Server 2005.
Now as Damien_The_Unbeliever points out SSMS for SQL Server 2016 supports all supported versions of SQL Server. But this is for "Mainstream Support End Date", so alas, SQL Server 2012 is the last version that has full UI support.
Still you can have mulitple versions of SSMS installed, just like you may need to keep BIDS as well as Data Tools installed to maintain older verions of SSIS

Related

Visual Studio Community: how to view data or run SQL in the "SQL Server Object Explorer"

You can "explore" the schema etc. using the SQL Server Object Explorer in VS.
However, I can't find a way to view the data in a given table (at least the first page), or to run some arbitrary SQL.
Is this possible?
I also have the full blown Microsoft SQL Server Manager installed, but this can't "see" the databases created by Visual Studio in its built-in SQL Server Express instance. It can only connect to its own full blown SQL Server databases.
I have looked for a tool to view data in SQL Server Express, but have not found anything yet. There does not seem to be a version of Microsoft SQL Server Manager for SQL Server Express unfortunately.
You can do a "New Query" on any database node to run a query window:
And then you can do a "View Data" on any table, in SQL Server Object Explorer:
But you should also be able to load any "LocalDB" instance and view it from the full-fledged SQL Server Management Studio (at least since SSMS v17, where it's a separate, free download)....

How to get GUI on SQL Server 2012

I have installed a Evaluation 180 days version of SQL Server 2012 from the official website of Microsoft, on a Windows Server 2012 R2 (with gui). At the end of the installation in the Installation center, everything passed and succedeed but when I quit the program, I don't have any way to execute SQL Server from a graphical interface. I can see MS instances created, services running but how can I get a GUI to work with SQL Server?
With the newer version of SQL Servers, the SQL Server Management Studio (the GUI) is a separate install and you will need to install it separately to the database engine installation (which is what you have done). You can download SSMS from here https://www.microsoft.com/en-us/download/details.aspx?id=29062. The page contains a lot of different download components, make sure you check the appropriate install and click download.
ENU\x64\SQLManagementStudio_x64_ENU.exe if you want the 64bit installation of SQL Management Studio
ENU\x86\SQLManagementStudio_x86_ENU.exe for the 32bit version.
you Need to Install SSMS
SQL Server Management Studio (SSMS) is a tool to manage and administer SQL Server and SQL Database.
SSMS is offered free of charge by Microsoft.

"Create new table" is not visible on SSMS 2016 for SQL Server 2008

I have a shared hosting. I was happy with it. I was creating new databases on its panel and then I was managing my databases with SQL Server Management Studio. I could add new table by right clicking the database with designer.
Database is: SQL Server 10.0.2531 (SQL Server 2008 SP1 I think)
My SSMS details
Microsoft SQL Server Management Studio 13.0.15500.91
Microsoft Analysis Services Client Tools 13.0.1605.86
Microsoft Data Access Components (MDAC) 10.0.10586.0
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.10586.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.10586
I have updated my SSMS to 2016. But now, when I right click on my database, there is no "New -> Table menu". The right-click menu is only "Filter, Start Powershell, Report and Refresh"
Now I can create new table by New Query menu (by writing query), but where is my "New -> Table menu"? Is this a security issue ?
There is a bug reported for this issue
connect.microsoft.com
social.msdn
In SSMS you can use a SQL script to create a new table because that processing is done on the server. However, SSMS provides the capability to add a table, here the User interface has to be developed to provide the necessary features for each version of SQL Server, this obviously has an overhead. So gradually older versions get dropped.
SSMS for SQL 2012 did not provide support for SQL Server 2005.
Now as Damien_The_Unbeliever points out SSMS for SQL Server 2016 supports all supported versions of SQL Server. But this is for "Mainstream Support End Date", so alas, SQL Server 2012 is the last version that has full UI support.
Still you can have mulitple versions of SSMS installed, just like you may need to keep BIDS as well as Data Tools installed to maintain older verions of SSIS

SQL Server 2014 backup to 2012

Are there any tools to convert SQL Server 2014 database to 2012?
I tried Generate Script but the generated script with data is too large and SQL Server Management Studio did not execute it, I need to have both schema and data.
To my knowledge, there are basically three two options for migrating a database to a lower version of SQL Server, without using 3rd party tools:
Generate Scripts (not really suitable for large amounts of data)
Custom Scripting and BCP or Import/Export Wizard
SQL Server Integration Services (Transfer Database Task)
First option is not suitable in your case, as noted.
Second option is to simply script the structure of the database, and then use the Import/Export Wizard to copy the data, one table at a time. Note, that if you have foreign key constraints in your database, you might want to disable the constraints until after you have populated all your tables with data. This blog post explains in details how this can be done.
Third option uses the SISS Transfer Database Task which basically uses SMO to create the objects on the destination server and then transfers the data. This is the recommended way of migrating a database between SQL Server instances of different versions. SSIS requires that you have installed SQL Server Data Tools - Business Intelligence (SSDT-BI) for Visual Studio. Before SQL Server 2012, this was called Business Intelligence Development Studio (BIDS). You can download these here:
Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013
Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012
If you don't have Visual Studio, SSDT-BI / BIDS is included in the SQL Server installation.
Use the script, but instead of executing it trough Management Studio, use the lightweight sqlcmd utility.
http://msdn.microsoft.com/es-es/library/ms162773.aspx
Oh well, Dan's second option does not work: after installing SSDT-BI for VS2013 and configuring the Database Transfer Task it says that the version of the source database instance has to be lower or equal to the version of the destination database instance: so, a migration from 2014 to 2012 (or in my case 2008R2) is not possible.

No selection to install SSIS, SSRS and SSAS

Goal:
Install Developer SQL Server 2012+ Business intelligence and its SSIS, SSRS and SSAS in my computer.
Problem:
Can't find the settings or something similar in the install selection to install SSIS, SSRS and SSAS in my computer.
Before doing the installation, a screen was displayed with selection of feature. Look at the picture.
It is in the Developer Ed of VS 2012. You just have to look for it now because they separated it out into a different place. Look for SQL Server Data Tools 2012 in your start menus and launch it; however, if it does not come up, then navigate to find your VS 2010 and start it up and load up your Integration Services project in there. This is what I had to do.
What you are looking for is Sql Server Data Tools. Bear in mind that there are 2 versions of the Data Tools - someone called them data tools - db and data tools - BI for lack of a better term.
Data Tools - BI are the compact version of Visual Studio 2010 with all the required project types for ssrs ssis and ssas.
Data Tools - db that you can get here provide connectivity to sql server via the Data Tools - (BIDS in sql server 2008).
The selection is disabled as Aaron said due to the fact that Intergration Services (SSIS), Analysis Services(SSAS) and reporting Services (SSRS) are already installed.
You want 2012, since others provided that information here is instead for you and OTHERS to get 2014 Data Tools and 2008 BIDS :
SQL Server Data Tools (SSDT) for SQL Server 2014
http://msdn.microsoft.com/en-US/jj650015
OLD 2008 for some of you still wanting it / using sql server 2008....
For getting BIDS With SQL Server 2008 Developer Edition, you simply want to search for
"SQL Server Business Intelligence Development Studio"
This will open the Visual Studio 2008 Shell of which you then click on Create - Project
Now you have all your options. This is right next to Microsoft SQL Server (SSMS)

Resources