ssms

Intellisense Not Working SSMS 2014

倾然丶 夕夏残阳落幕 提交于 2019-12-10 12:35:00
问题 I know there are a lot of posts on this issue, however I am unable to find a resolution to my issues. Running: SMS 2014 with CU1 - Version 10.0.2342.0 on both SSMS and Client Tools. Visual Studio 2010 SP1 - 10.0.40219.1 SP1Rel Connecting to: Server 2008 R2 SP2 CU 5 - 10.50.4276 Have Verified: IntelliSense in enabled. SQLCMD Mode is disabled. Have Refreshed Cache. Verified IntelliSense settings. Server does not support contained databases so this was ruled out. Behavior: When connected to the

restore tabs after reopening SQL Server Management Studio

蹲街弑〆低调 提交于 2019-12-10 12:29:46
问题 I don't suppose there's a way to emulate a FireFox-type of setup, whereby if I close SQL Server Management Studio (2008) my open tabs will be there again when I restart? I know I can save the individual windows into a .sql file but was wondering if there was a way for those tabs to reopen with the text in them on their own. Any third party tools that do something like this, perhaps? Thanks for the advice. -Larry 回答1: SSMS Tools pack (free up to SSMS 2008, for SSMS 2012 as paid upgrade) Red

Make SQL Intellisense know the current database

心不动则不痛 提交于 2019-12-10 12:25:18
问题 How do I make SQL Server Managment Studio Intellisense know what is the current database in use, i.e. I want to be able to do the following SELECT * FROM Table instead of SELECT * FROM DatabaseName.dbo.Table with intellisense. UPDATE Just confirm, I already had the currentdatabase selected, i.e. I don't have master database shown in the bottom left corner. 回答1: Sometimes adding Use DatabaseName Go To the top of your script file and executing it will do the job. Other than that, the

Perform join on joined queries

谁都会走 提交于 2019-12-10 11:47:48
问题 I have a database with 20+ tables which I am trying to join into one big query in order to create a report. I have been successful in creating a basic report through SSMS query builder, however one table is causing trouble, since there is a field that can have two values (in or out) for the same uniqueID, I am getting duplicate rows in my report, where all other data is repeated and then finally the information is displayed containing the in and out related fields. I guess this is kind of a

show Create commands for table in SQL Management Studio (2008)

早过忘川 提交于 2019-12-10 11:22:26
问题 I've just started with SQL Management Studio and I am wondering if I can show create commands for already existing tables, I've been able to do that in Oracle SQL Developer.. I've tried to ask uncle google but maybe used just wrong search command.. Anyway.. could someone give me quick hint as I stuck with this for like 25 minutes? Thanks 回答1: In Object Explorer, expand your server/database, expand Tables, right-click the table in question, and choose Script Table as > CREATE To > New Query

No UI dialogs in MS Azure / SQL Server Management Studio

心已入冬 提交于 2019-12-10 10:34:09
问题 Recently, I purchased a licence for a Microsoft Azure SQL Server 2012 (packet "S0" - Standard, 250 GB) When I connect with SQL Server Management Studio 2012 to this database, then all the user interface dialogs for creating tables, setting up users, etc. are gone. You can only script and execute pure SQL statements. Even the table editor is gone, so you even cannot edit the data in a table! If I connect to a local database, then everything works. So the problem must be related to the Azure

Always Encrypted with Azure Key Vault SSMS Purge Error

半城伤御伤魂 提交于 2019-12-10 10:23:44
问题 I'm trying to setup a new Always Encrypted database using Azure Key Vault (I have previously had this working). In the SSMS Always Encrypted Wizard I can select the table and column to encrypt but I have a problem after selecting "Azure Key Vault" as the key store provider. I login and the window briefly pops up the dropdown that correctly lists my Key Vault in Azure but then it immediately goes away and has a warning triangle with the word "Purge" next to it and a "Try Again" button.

Error when installing SSDT (SQL Server Data Tools)

落花浮王杯 提交于 2019-12-10 02:09:39
问题 I have a problem during the installation of SQL Server Data Tools for Visual Studio 2017 I get the following error (translated): The requested meta file operation is not supported (0x800707D3) Screenshot: See here Log file available here: https://www.dropbox.com/s/e34kry9ycj76j7n/SSDT-Setup-ENU_20171219090643.log?dl=0 Here's the relevant section from the linked log file: [13C4:3020][2017-12-19T10:07:22]i000: MainViewModel.OnPackageActionProgress: Percent completed: 0, Overall progress: 27

SQL Server Management Studio disconnected after a period of inactivity

﹥>﹥吖頭↗ 提交于 2019-12-10 00:56:56
问题 I got a nice new fresh pc and installed SQL Server Management Studio on it. I have a "problem" that when I am inactive for about 30 minutes that I lose connection to the database servers where I had connected to. The query screen show the messages "not connected". On my former pc I could be inactive the whole weekend and it was no problem. I can't find a "setting" or something to change this. Does anybody know how I can restore the old situation? 回答1: Well this may have some different causes.

Error while using SSMS 2016 : Object cannot be cast from DBNull to other types

五迷三道 提交于 2019-12-09 19:17:35
问题 Can anyone resolve this issue: SQL Server Management Studio 2016 CTP3 (13.0.900.73) on a Windows 10 Laptop Object Explorer > Server > Databases > Database Right Click - Properties Instead of getting the Database Properties dialogue box I instead get this pop-up: TITLE: Microsoft SQL Server Management Studio Cannot show requested dialog. ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) Object cannot be cast from DBNull to other types. (mscorlib) BUTTONS: OK Edit: Issue is