|
|
|
|
|
|
Question of the Day |
Today's question (by Evgeny Garaev): | |
Types of indexes available in SQL Server 2019 | |
How types of indexes available in SQL Server 2019? | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Evgeny Garaev) |
Database snapshots Can you detach and re-attach a database snapshot on SQL Server 2019? Answer: No Explanation: You cannot attach or detach database snapshots. Ref: Database Snapshots - https://docs.microsoft.com/en-us/sql/relational-databases/databases/database-snapshots-sql-server?view=sql-server-ver15 |
Database Pros Who Need Your Help |
Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2017 - Administration |
Enabling/Configuring Read only routing - I have 2 servers which are part of AG. DB1(Primary) and DB2(Secondary). It has been setup like this for quite some time now but we don't have read routing enabled/configured. I went thru GUI and scripted out what I want to do. Couple of question related to my inquiry. Do I have to failover/reboot when […] |
SQL Server 2016 - Administration |
using sftp in SSIS - Hi, I have SSIS packages for my SQL 2016 that currently use the FTP Connection manager. I need to switch these to use sftp instead of ftp and I'm seeing lots of articles stating that SSIS does not support this and most are using WinSCP or scripting to get around this issue. I'm wondering if […] |
Backup failed - I cant figure out why backup failed Here is my error: Executed as user: NBHDHQDOMAIN\svcempsqlserver. ...0 for 64-bit Copyright (C) 2016 Microsoft. All rights reserved. Started: 12:40:50 PM Progress: 2021-04-20 12:40:54.16 Source: {DCE40FB3-F026-44F4-8B33-183461DFFA93} Executing query "DECLARE @Guid UNIQUEIDENTIFIER EXECUTE msdb..sp...".: 100% complete End Progress Progress: 2021-04-20 12:40:57.51 Source: Maintenance Cleanup Task Executing query "EXECUTE […] |
automatically remove people from report subscriptions - Hi, How can we automatically remove people from report subscriptions when they are disabled or don’t exist in AD? We have Reporting Services standard and data driven reports and we are trying to find a way to automatically remove users when they don't exist in AD anymore. I have read up on the [sys].[sp_validatelogins] stored […] |
Azure SQL Server Specs and Encryption - Hello~ I administer a database application (Azure SQL Server Back End/MS Access Front End) At the moment, we have only one server, and we recently encrypted a few sensitive fields in our db. After a week of user testing with encryption, everything seemed fine, but of course, when we went live, things went terribly wrong […] |
SQL Server 2016 - Development and T-SQL |
Getting sum of all transactions by month-end - I have a table that is a list of inventory transactions. For simplicity sake, the table has these columns: Location, Item Number, Trx Date, Trx Amount I'm trying to create a query that gets the accumulation of all transactions for each month in a year. For example, let's assume these transactions: I'm trying to create […] |
Administration - SQL Server 2014 |
Enabling/Configuring Read only routing - I have 2 servers which are part of AG. DB1(Primary) and DB2(Secondary). It has been setup like this for quite some time now but we don't have read routing enabled/configured. I went thru GUI and scripted out what I want to do. Couple of question related to my inquiry. Do I have to failover/reboot when […] |
Development - SQL Server 2014 |
usage of BCP and BULK INSERT - as I'm not clear how to use bcp and bulk insert in the following cases, could you please give me an example on how to use it ? thanks! while exporting data using bcp from a table, how to use where condition to export part of data of the table ? while importing data using […] |
SQL 2012 - General |
Implementing TLS In sql server 2012 - Hi Experts, In my project we have 2 servers Webserver and one is database server . We are planning to Implement the TLS in the database server and our DBA can handle the the step to implement TLS on the database server. My query is what all changes we have to do on the Webserver […] |
Can we use SSIS dynamically import or export from one table to another table? - Normally, we can use selected databasename--tasks--import data/export data to handle data import and data export rapidly, but this operation is required to be done manully, Can we use SSIS dynamically import or export from one table to another table? such as creating a job in backend to call it as the schedule or call the […] |
sequence of SQL server execution plan - As per my understanding, when we read the execution plan, the sql server is run from the bottom to top and from right to left, the sequence I marked it picture, is it right? if not please tell me the right sequence and how to read the execution plan. thanks! |
SQL Server 2019 - Administration |
Unable to uninstall Sql Server 2019 in my Laptop - Hello, I have installed Sql Server 2019 more than 6 months before and forgot the credentials. So I tried uninstalling manually but it is not allowing me to uninstall. Even the services are not starting in Services.msc and Sql Configuration Manager. Not sure what is the issue. Attached the screenshots of the same. I tried […] |
Grant Execute on ALL procs in a Database - I see a lot of old, 10+ year old posts for SQL 2000, 2005 etc on this. For our SQL 2019 environment, what is the easiest most efficient way to: GRANT EXECUTE on ALL StoredProcedures in DB_XYZ to MyDomainUser (eg. MyDomain\User_1) thx for any feedback! |
Polybase and External table - Hi - we have 2 SQL Server 2019 instances, both with Polybase installed. I created an external table in a database on instance A and pointed it to a table in a database on instance B. Steps take in database on instance A: create master key in user database create credential create datasource using that […] |
Powershell |
Pipeline Variables - Hi All I am trying to understand why my filtering doesn't work here.... I am new to Powershell Using dbatools This works: $t = get-dbaregserver $t | Where-Object {$_.group -eq "GroupName"} This does not filter the result: $p = get-dbaregserver $p | Where-Object {$p.group -eq "GroupName"} |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |