ssms-2016

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

An exception occurred while executing a transact-sql statement or batch

柔情痞子 提交于 2019-12-24 00:26:52
问题 I keep getting the error message: an exception occurred while executing a transact-sql statement or batch when trying to do anything in SQL Server Management Studio 2016. This occurs when I try to create or edit a login, when I try to create a new database, basically when I do anything. I tried the solution given in SQL Server 2008 R2 Express permissions -- cannot create database or modify users but I can't edit the Startup Parameters specified in step 6. Can anyone explain what the issue is

Error opening SQL Server Management Studio 17.3

。_饼干妹妹 提交于 2019-12-23 01:27:10
问题 I recently installed SQL Server 2016, amd as we know SQL Server and SQL Server Management Studio now are separate downloads, so I download SQL Server Management Studio 17.3 and installed it on my PC. After installing, when opening it for first time, it worked perfectly, but after rebooting or reopening SSMS 17, I get this following error: Please help me to get rid of this problem. 来源: https://stackoverflow.com/questions/47193783/error-opening-sql-server-management-studio-17-3

JetBrains DataGrip - Azure SQL - connect with Active Directory - Password

有些话、适合烂在心里 提交于 2019-12-22 18:34:31
问题 Is it possible to connect to Azure SQL database the same way as I would with Microsoft SQL Management Studio - the " Active Directory - Password " option. I followed the instructions from here (JetBrains documentation) but when I select " Use Windows Domain authentication " (as I should for Azure Active Directory) it doesn't let me to enter the credentials as SSMS does. Everything works fine with SSMS but with DataGrip I have no luck. Is this option just not supported in there? 回答1: It's

SSMS stopped loading my stored procedures after update

二次信任 提交于 2019-12-22 05:50:32
问题 Today I installed version 13.0.15800.18 of Microsoft SQL Server Management Studio (SSMS) [2016-09-20, 16.4], and now it refuses to edit my stored procedures. I even tried a slightly older version on my other computer to make sure, and they open just fine there. I get the error: Script failed for StoredProcedure 'xyz'. (Microsoft.SqlServer.Smo) Additional information: Syntax error in TextHeader of StoredProcedure 'xyz'. (Microsoft.SqlServer.Smo) Some old posts (1, 2, 3) Online talk about this

A valid destination folder for the install could not be determined when installing SQL Server Management Studio 2016

为君一笑 提交于 2019-12-20 18:33:45
问题 Whilst installing SSMS 2016, I get the following error and setup terminates: SQL Server 2016 Common Files: A valid destination folder for the install could not be determined. I've tried the following solutions: Delete all files in %TEMP% folder Check that BootstrapDir exists in HKLM The above 2 options where suggested on the MS sites. I have administrator privileges and I must also add that I have already installed SSMS 2016 on this machine but I removed it to clean up some space. Any ideas

What can I use in a SQL query to help me determine why my query is not returning any data results

こ雲淡風輕ζ 提交于 2019-12-12 14:19:29
问题 Can someone assist me in troubleshooting my SQL query to discover why it's not returning any results, only the column aliases? I've broken it apart, and all sections that obviously group together returns the expected data individually. Thanks for any guidance/assistance in advance. Below is my script: ... DECLARE @u_cnt INT; DECLARE @f_yr DATE; DECLARE @qrt VARCHAR(3); DECLARE @dnum VARCHAR(5); SET @u_cnt = 10000; SET @f_yr = '2002-05-20'; SET @qrt = 'Q2'; SET @dnum = '43234'; SELECT c

System.OutOfMemoryException occurs frequently after Upgrading SQL Server 2016 to version 13.0.15700.28

回眸只為那壹抹淺笑 提交于 2019-12-06 17:25:42
问题 I am running Windows 10 Pro 64 bit on a dev box that has multiple monitors, 16 gigs DDR4 RAM, 4 Ghz I7, GTX 970. I run SQL Management Studio with SQL Server 2016 Developer Edition along with VS 2015 Enterprise Update 3. Yesterday I upgraded Sql Management Studio 2016 to 13.0.15700.28 and it was like a poison pill for my machine. Now after an hour or two it will throw an out of memory except: An error occurred while executing batch. Error message is: Exception of type 'System

JetBrains DataGrip - Azure SQL - connect with Active Directory - Password

ぃ、小莉子 提交于 2019-12-06 07:16:48
Is it possible to connect to Azure SQL database the same way as I would with Microsoft SQL Management Studio - the " Active Directory - Password " option. I followed the instructions from here (JetBrains documentation) but when I select " Use Windows Domain authentication " (as I should for Azure Active Directory) it doesn't let me to enter the credentials as SSMS does. Everything works fine with SSMS but with DataGrip I have no luck. Is this option just not supported in there? It's possible. Use JTDS driver, not Microsoft one. Go to the Advanced tab of data source properties, set USENTLMV2 to

SSMS stopped loading my stored procedures after update

此生再无相见时 提交于 2019-12-05 06:28:37
Today I installed version 13.0.15800.18 of Microsoft SQL Server Management Studio (SSMS) [2016-09-20, 16.4], and now it refuses to edit my stored procedures. I even tried a slightly older version on my other computer to make sure, and they open just fine there. I get the error: Script failed for StoredProcedure 'xyz'. (Microsoft.SqlServer.Smo) Additional information: Syntax error in TextHeader of StoredProcedure 'xyz'. (Microsoft.SqlServer.Smo) Some old posts ( 1 , 2 , 3 ) Online talk about this being caused by having nested comments before "ALTER PROCEDURE" (or just generally in the procedure