Questions tagged [ssms]

SQL Server Management Studio, a graphical front-end tool shipped with SQL Server for managing and querying databases. It also supports managing other bundled systems such as SSAS.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

How to force SQL Studio not to use copy-only backups to build database restore script?

How to force SQL Studio not to use copy-only backups to build database restore script? I want to ommit copy-only backup (because it's not longer available) and force studio to use last full backup (I ...
0
votes
0answers
38 views

Unable to access SQL Server from SSMS 2014

I'm unable to access the server after I installed Visual Studio Isolated Shell. No matter how I try to access the server, the result will always be the same (image below). How can I access it back ...
0
votes
0answers
13 views

How do I manage SQL Server Management Studio (SSMS) Add-In?

A variety of vendors provide SQL Server Management Studio (SSMS) Add-Ins, such as Red Gate's SQL Prompt and the SSMS Tools Pack. Is there a way in SSMS to control or configure these add-ins (enable/...
0
votes
0answers
75 views

Should I move ORDER BY to app?

I noticed this discussion on NOT using ORDER BY in SQL query unless really necessary. https://www.brentozar.com/archive/2019/10/how-to-think-like-the-sql-server-engine-adding-an-order-by/amp/ The ...
-1
votes
0answers
21 views

SSMS forced data conversion type

I am currently working on a project that requires data to be downloaded and saved to SQL server 2017. After the data has been downloaded, I used the SQL SERVER 2017 import and export program to export ...
0
votes
0answers
22 views

Setting an Authorization [duplicate]

How can I set a user's authorization to see only the database that the user got access to, when accessing database via MS Management Studio? Is that even possible?
0
votes
1answer
30 views

SQL Server can't see already mapped network drives

I'm trying to backup databases through SSMS and cannot see any already-mapped network drives. The SQL Server service account is what I'm using to log in, and it has permissions to the network share, ...
0
votes
0answers
30 views

launch database mirroring monitor grayed out in SQL server 2014

I have 2 servers configured with mirroring each other. Both the servers are principal & Mirror servers each other. From the 2nd Server launch database mirroring monitor is working fine but from ...
0
votes
0answers
22 views

Internet-facing loadbalancer for encrypted connections to DB

I am trying to get my head around a problem; Background: Host1 is running SQL-Server 2017 on an EC2 in a private subnet in AWS. Problem: In order to have it accessible for an external service we put ...
-1
votes
2answers
42 views

In SSMS I can hover over a column name and it gives me the Type. Is there also a simple way to get its source table/query?

In SSMS when I am in a script, I can hover over a column name and it will give me the column's type and if it is Null/Non Null. Is there a similar simple way to get which table/query in the From ...
0
votes
1answer
28 views

Activity Monitor Blocked by Firewall. Set Static Port?

We are seeing an issue with not being able to open Activity monitor for remote SQL servers. The Activity Monitor is unable to execute queries against server . Activity Monitor for this instance will ...
0
votes
0answers
20 views

How to change the whole theme of SQL Server 2014 Management Studio to black theme? [duplicate]

This is different with the text editor theme. What I want is a theme that is implemented through the whole windows. I found it strange that the theme I wanted to use through an extension called ...
0
votes
0answers
19 views

How to connect to a database in SQL Sever Management Studio (SSMS) using Microsoft OLE DB Provider for SQL Server

After asking this question, I realized that the true slowness comes from SQL Server Engine, and I used tons of things and still no success. However, I created a connection.udl file on desktop and ...
0
votes
2answers
23 views

Connecting to local database on Azure VM

Using DBforge to try and connect to a local MSSQL database on an Azure Ubuntu 18 VM, I am getting this error: A network-related or instance-specific error occurred while establishing a connection to ...
0
votes
0answers
49 views

SQL Server Management Studio (SSMS) is way too slow in its GUI

I know this question has been asked before here and here. But none of them could sovle my problem. I have this environment: Windows 10, build 1903 (freshly installed) Microsoft SQL Server 2016 (SP2) (...
0
votes
0answers
14 views

SSMS cannot determine if remote computer is connected to domain

I've recently set up a new server with an SQL instance running on it (2017), I am able to connect to the server remotely using SSMS, but when I try to add a new login, I receive the attached error. ...
1
vote
1answer
83 views

Cannot choose Storage option on a table in SSMS for standard edition

I am looking into partitioning of tables for SQL Server on two different machines. One machine runs Microsoft SQL Server (RTM) 2016 Developer Edition, and the other is running Microsoft SQL Server ...
0
votes
1answer
85 views

User guest does not have permission to run DBCC checkprimaryfile (SMSS)

I am trying to attach an mdf file to a sql server using SMSS, and I got a message that says: User guest does not have permission to run DBCC checkprimaryfile Any clues about how can I solve that ...
1
vote
1answer
48 views

attaching locally stored mdf to SSMS

Sorry if this question does not make sense, I have no experience with databases, I just stumbled upon this task. I need to attach an mdf to a database. I have the mdf file stored in my local computer....
2
votes
3answers
76 views

What is SQL Server doing in the background once a Backup/Restore is complete?

When I run a backup or restore through the SSMS GUI, the dialog shows Executing with 20% increments rather than every 1% tick. To get round this, we can use DMV's. Thing is, when the query shows 100% ...
1
vote
0answers
51 views

SQL Server “Locate backup file” change to include diff

In SSMS, when using the GUI to select backup files to restore, the .diff are excluded (First image) and you need to change to show all files (second image). .diff is the file extension I am using for ...
0
votes
1answer
30 views

How to grant xp_delete_file to non-sysadmin login?

I want to delete old backups from shared folder, which are located on separate NAS storage, using newly created SQL login. Is there any workaround to execute xp_delete_file using another account which ...
0
votes
1answer
30 views

Replacing the removed database diagrams feature [closed]

I have a SQL Server database and want to create an ER diagram for it, to analyze tables and relationships. The option to create a diagram is no longer present in SSMS 18. Is there any free tool ...
3
votes
0answers
115 views

No backupset selected to restore

I have 2 cloud SQL Servers, one in Azure, one in AWS (I don't think the cloud platforms matter here but including them just to be thorough). I'm unable to restore a database from the Azure server to ...
0
votes
0answers
27 views

Encryption procedure other than Always Encrypted

I would like to ask if there are other encryption method in MS SQL other than always encrypted?
9
votes
2answers
162 views

Prevent SSMS from seeing the server's file system

I have several users who share an MS SQL server 2017 under my administration. They should not see (or even be aware) of the other users and their data on that server. Each user has his own database. ...
0
votes
2answers
37 views

How can I update the roles for all logins using T-SQL?

I need to update the roles for all database logins, but without using SQL Server Management Studio. I can update a single user with the following example SQL. EXECUTE sys.sp_addsrvrolemember @...
0
votes
1answer
28 views

Does Data Migration Advisor migrate system databases?

I would like to know if Data Migration Assistant copies system databases (master, model, msdb) into the new server.
0
votes
0answers
27 views

Data Loss issue while migrating data from Source(Oracle) to Data Warehouse Staging Database(SQL Server)

Project Overview Loading data from Oracle Database to Datawarehouse Staging Database(SQL Server). Using ETL process we are loading data from Oracle to SQL Server. Staging Database in SQL server is an ...
1
vote
0answers
21 views

How to Parse a query in Azure Data Studio?

In Sql Server Management Studio, we can click a "Parse" button (or Ctrl+F5) to verify that a SQL statement is syntactically correct (without executing it). How can I do it the same in Azure Data ...
1
vote
1answer
33 views

When are statistics created?

I know that when we create an index then statistics are automatically created. My question is: Is it the only case when statistics are created? I remember that once I found on the internet that we ...
0
votes
0answers
18 views

Using CONVERT on Always Encrypted varbinary column

I have an encrypted varbinary column that contains data that I wish to convert to varchar using the CONVERT() function. I am using Always Encrypted = ON and Column Encryption Setting = Enabled for my ...
2
votes
1answer
38 views

SQL Server Configuration Manager is not showing SQL Services

I have newly installed following things on my system - Microsoft SQL Server Management Studio 2014 - SQL Server 2017 - Visual Studio 2015 When I tried to open SSMS for the first ...
0
votes
0answers
25 views

Import folder with Multiple CSV's into SSMS w/ out SSIS

I am wondering what's the best and most effective way to import csv's stored in a local folder into DB w/ in SSMS. Folder path- C:\Users\ngutierrez\Desktop\Open_Air_Tables Folder contains about 30 ...
18
votes
2answers
2k views

How to disable “Completion time:…” in SQL Server Messages window

Every query I run in SSMS append the annoying message: "Completion time:...". How can I disable that text?
2
votes
1answer
27 views

SQL Server seems to be ignoring specified backup file extension

I have created a maintenance plan using the Wizard and this is the SQL produced, per SSMS: BACKUP DATABASE [FOO] TO DISK = N'C:\SQLBAKS\FOO\FOO_backup_2019_08_09_161656_6414445.diff' WITH ...
0
votes
2answers
22 views

Is it possible to configure backup filename conventions for Maintenance Plan Wizard in SSMS

Is there a way to configure SSMS so that the backup file names for differential backups (created using the Maintenance Plan Wizard) would have the string "DIFF" in the name?
-2
votes
2answers
64 views

get data from express edition db to developer edition [closed]

How to get database in new created SSMS sql server developer edition but I don't have back up of database but mdf file and ldf file are available.
0
votes
1answer
43 views

Connecting to database engine again when a new query or running view

When I connect to a server via SSMS, I can connect fine albeit a slow. When I click on a new query or try to run a view in a database on this server, the same prompt comes up but with everything ...
0
votes
1answer
27 views

“Cannot open user default database. Login failed” after altering MDF and LDF locations and bringing DB offline

I was attempting to move my database to a separate hard drive on the server, so I ran the following commands in the following order (I was following this question : How to change location of SQL ...
0
votes
1answer
55 views

SSMS 2014 does not launch Graphical Execution Plan from clicking hyper-linked query plan - ShowPlanXML

I am working with an older version of Microsoft SQL Server Management Studio 2014. I run the following query: SELECT TOP 10 Q.* FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_query_plan( qs....
0
votes
1answer
45 views

How to run update queries saved in a permanent table?

Permanent Table Name: PermaTable1 Values: Question is how to execute all update commands inside the table PermaTable1? This is my query but it does not execute the update command. DECLARE @Query1 ...
0
votes
1answer
28 views

Azure SQL - Setting up permissions for users

I'm busy playing around within Azure SQL and have setup replication from my on-prem DB to the Azure DB for some reporting. I would like to ensure as part of this we setup the security correctly. In ...
0
votes
0answers
15 views

How to remove the red squiggly line from IntelliSense for Queues

I know you can force SQL Server Management Studio to update the IntelliSense cache, but the red squiggly line for Service Broker Queues does not go away by updating the cache. It's not a big deal, but ...
3
votes
1answer
129 views

Available space differs between sys.database_files and database properties dialog in SQL Server Management Studio

I am looking at this for a few minutes now and could not find a thread mentioning this. I wanted to query currently used space and available space from a database on SQL Server. The numbers I query ...
1
vote
2answers
37 views

MS SQL Server create user who can access only those databases which they have created

How to create and give permission to a user in such a way that they will have full access only to the database(s) they have created not other database(s). I am using SQL Server 2016 Express.
0
votes
1answer
30 views

Line breaks handled inconsistently by SSMS

Probably more of a SQL Management Studio question than SQL, per se, but when I run the following simple query: SELECT results = 'Foo' + CHAR(13) + CHAR(10) + 'Bar' I appear to get different results ...
1
vote
0answers
22 views

Error while trying to process dimension in SSAS

I am getting the below error when I try to process my dimension in Analysis services from SQL Server Management Studio. Errors in the OLAP storage engine: The attribute key cannot be found when ...
1
vote
1answer
25 views

SQL Server 2016 - Disparity Between View Definition and View Design

I've run into an interesting issue with some databases I've inherited, and could use some help unpacking it all. The Issue After adding a column to a table, views selecting * from that table are now ...
1
vote
1answer
34 views

Search SQL Server Execution Plan by cost in SSMS

I was given a large Execution plan and I'm trying to find the nodes connected to high costs. SSMS offers a search util, however, I did not find the option that searches for the cost value in percent. ...