ssms-2014

SQL Server Management Studio 2014: Unable to view stored procedures on Azure SQL Database V12

梦想的初衷 提交于 2020-02-03 09:43:13
问题 I have updated SQL Server Management Studio to the latest version at time of writing - 12.0.4432.0 - this is SP1 with CU3 and additional bug fixes. My Azur SQL Database version is 12.0.2000.8 I can not view any stored procedures through the GUI, when I try I get this error (all other functionality appears to be working normally): TITLE: Microsoft SQL Server Management Studio Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click: http://go.microsoft

Subquery returned more than 1 value in SSMS 2016

对着背影说爱祢 提交于 2020-01-11 10:07:24
问题 I have a database created in SQL Server 2014 x64 express edition with SSMS 2014 and have some table in the database. I backup the database with this tsql BACKUP DATABASE dbFile TO DISK='D:\dbFile_170125.bak' WITH FORMAT; In other computer, i have SQL Server 2016 x64 express edition with SSMS 2016. I create new database, then i restore database from file "dbFile_170125.bak" with replace option. The restore is success. The problem is when i expand the Tables in Object Explorer in SSMS 2016, it

Trying to use a count column in the where part of a query

六眼飞鱼酱① 提交于 2019-12-12 03:37:50
问题 There is 2 tables called Students stuID camID FK Campus camID PK camName I am trying to find the campuses with more than 4 students that include the camName, camID, (number of students) This is what I got so far SELECT students.camID, campus.camName, SUM(students.stuID) as [count] FROM students JOIN campus ON campus.camID = students.camID WHERE [count] > 3 GROUP BY students.camID, campus.camName ORDER BY [count] All this gets me though is a error that 'Invalid comlumn name 'count'. 回答1: You

How to retrieve data from SQL Server as required below?

老子叫甜甜 提交于 2019-12-11 06:02:13
问题 I have a table like this : CustName Country RecordedTime --------------------------------------------- Alex Australia 2018-Jun-01 08:00 AM Alex China 2018-Jun-01 10:00 AM Alex Japan 2018-Jun-01 11:00 AM John Australia 2018-Jun-01 08:00 AM John China 2018-Jun-02 08:00 AM Bob Australia 2018-Jun-02 09:00 AM Bob Brazil 2018-Jun-03 09:50 AM If the record is brand new in the system then it should show 'ADD' & 'NEW' in Audit and history fields (two additional fields in result set) for the given date

Is there a way to select last N columns in SQL Server Results Tab?

徘徊边缘 提交于 2019-12-11 04:06:04
问题 Shortly, I don't mean the last 5 rows. via SELECT TOP 5 * FROM Table Order By Key DESC But I mean last 5 columns in Results Tab. Why? because each time I add a new column and filling it outside SQL-Server, I need to see its result without moving Horizontal Scroll. and many columns have the same name at the beginning. It's not coding issues. but it's about the SQL-Server IDE Results tab itself. I Searched many times. but this thing never asked I think. so please I want an approach for that. I

Intellisense is not working in SQL Server 2014

浪子不回头ぞ 提交于 2019-12-08 03:32:44
问题 Intellisense is not working in Microsoft SQL Server 2014, it was working fine in Microsoft SQL Server 2012 but once I installed 2014 it is not working. Under Tools -> Options -> Text Editor -> Transact-SQL -> IntelliSense it says it is enabled there. I have also tried refeshing the IntelliSense cache with Ctrl-Shft-R but that doesn't work. 回答1: From my personal experience, SSMS IntelliSense is a pure crap, sometimes it works, sometimes it doesn't. I'd go for third party tools. If you're

Visual Studio 2013 High DPI workaround causes debugger to fail

↘锁芯ラ 提交于 2019-12-04 22:35:20
问题 Similar to this question Visual Studio 2013 High DPI on 4k Screen to which I had posted an answer but have now removed since uncovering the issue below. I too have just bought a new 4K laptop and have been having problems with high DPI with the display of the SSIS package designer and dialogs in VS2013 as well as dialogs etc in SSMS. A workaround I found for SSMS is to enable bitmap scaling and create a manifest file - ssms.exe.manifest - in the same folder as ssms.exe. This article describes

Visual Studio 2013 High DPI workaround causes debugger to fail

穿精又带淫゛_ 提交于 2019-12-03 15:48:49
Similar to this question Visual Studio 2013 High DPI on 4k Screen to which I had posted an answer but have now removed since uncovering the issue below. I too have just bought a new 4K laptop and have been having problems with high DPI with the display of the SSIS package designer and dialogs in VS2013 as well as dialogs etc in SSMS. A workaround I found for SSMS is to enable bitmap scaling and create a manifest file - ssms.exe.manifest - in the same folder as ssms.exe. This article describes how to fix this for SSMS http://www.sqlservercentral.com/blogs/spaghettidba/2015/10/14/ssms-in-high

SSMS 2014 randomly starts throwing “Value does not fall within the expected range” when using backspace key

怎甘沉沦 提交于 2019-12-03 06:33:21
Randomly when writing SQL queries in SSMS 2014, I'll get a popup that " Visual Studio has encountered an exception. This may be caused by an extension " along with a tip that I can run the application with the /log parameter and check the ActivityLog.xml file created somewhere in my user's AppData directory. After this popup, IntelliSense stops updating, and toggling it on/off has no effect (any errors still underlined with red squiggly lines, etc, including their mouse hover popups remain indefinitely). Note that this happens even without any errors in my script. But that's not really the

Does the Poor Mans T-SQL formatting add-in for Management Studio 2012 work in Management Studio 2014?

 ̄綄美尐妖づ 提交于 2019-11-29 19:50:23
Does the Poor Mans T-SQL formatting add-in for Management Studio 2012 work in Management Studio 2014? In SSMS 2012, if I go to tools, it showed up in the list. In SSMS 2014, it doesn't. I tried to run the installer again, and it gave me options to repair or uninstall. I had the formatter installed prior to installing 2014. EDIT: The tool is available here. alialtansaka Create the folder %SystemDrive%\ProgramData\Microsoft\SQL Server Management Studio\12.0\Addins\ if it does not exist. Then just copy the file from: %SystemDrive%\ProgramData\Microsoft\SQL Server Management Studio\11.0\Addins