Find SSN data within DB ?
Hello, looking around this doesn't appear to be an easy thing to do but is there a way to identify Tables & their Column names that have 9 consecutive digits?For example if a Column's definition is...
View Article[Question] Join AD first, or install SQL Server first?
[Question] Join AD first, or install SQL Server first? The AD domain is not my management. To join the domain, please ask the MIS staff to set it up. The computer B that has not yet joined AD is for...
View Article[Question] Join AD first, or install SQL Server first?
[Question] Join AD first, or install SQL Server first? The AD domain is not my management. To join the domain, please ask the MIS staff to set it up. The computer B that has not yet joined AD is for...
View ArticleSQL Server 2016 SP2, 2017 - Better intra-query parallelism deadlocks
After the upgrade to sql 2017, we have a problem with logging deadlocks. When several procedures have been blocked, the mechanisms that log the deadlock (EventNotification, XE, dbcc traceflags 1204,...
View ArticleImport-Module 'sqlps' -DisableNameChecking is returning a bunch of warnings I...
Hi All,I find that with SQL 2012 and SQL 2014 I get the following types of WARNING: messages displayed when I import the sqlps module.WARNING: The local computer does not have an active instance of...
View ArticleDo SQL Server Alias' work across a network?
We have a server entering end of life. We have multiple apps that hit that server. So that we don't have to manually change all of those apps to point to the new server I wanted to use an alias. The...
View ArticleSQL Server 2014 Standard Edition Licensing -> Changing Server that will run...
Hello,I have a scenario here that our client wants a server upgrade, while we cannot afford any downtime, we will setup the new server in parallel while their current server is running, so business...
View ArticleDo linked servers really need an alias created in the SQL Server...
Do linked servers really need an alias created in the SQL Server Configuration Manager?We added an entry to the hosts file on the database server, and used the alias in the hosts file as the linked...
View Article"Corruption in database" message for DB that does not exist?
I'm just wondering if anyone has ever seen this before... I'm getting a message "Corruption in database ID 140716013518856, object ID 60 possibly due to schema or catalog inconsistency. Run DBCC...
View ArticleHow to achieve Blue Green deployment model using SQL Server 2016 and above?
Hi, In our Organization, we have recommended WSFC to achieve High Availability. We have separated our Application Servers and Database Server by having two separate clusters for each.SQL Server 2016...
View ArticleProblem during creating backup of database
Dear all,I am beginner in Microoft SQL Server Management Studio. I am trying to create backup file of database. Unfortunately, I am receiving the following error:"Backup failed for Server 'XXXXX'....
View Articlemssms 18 15.0.18118.0 Will not start start
Hi! I can not get Mssms to start since I installed Management studio 18 built 15.0.18118.0. How can I fix it or shall install an older version ?Yours Sincerely Joakim
View ArticleSQL Server database backups
Hi All,this is my first time attempting to set up backup jobs for databases. I have some questions and greatly appreciate if someone can point me in the right direction.1) How much space needs to be...
View ArticleLogin failed for user xxxx Reason: Could not find a login matching the name...
I installed SQL 2017 on Red Hat, added system to Active Directory and did setup AD authentication as mentioned in the documentation from Microsoft.As mentioned on this page: By creating logins for AD...
View ArticleHow to find user databases with no users?
Can anyone recommend a script I can run against a group of SQL server instances which will return a list of user databases (exclude system db's) which have no users in them? Ideally, this should...
View ArticleSQL Server Management Studio 18 doesn't start
My installed SQL Server Managenement Studio doesn't start. It only shows the splash screen for ~0.5 second and then nothing.I have both tried a restart and a repair, but that doesn't solve the...
View ArticleSSMS Application Security idle session locking window
We are running multiple versions of SQL Server Management Studio in our network, I believe from 2000 through 2017. For our security review we need to find out how to set an inactivity timeout in the...
View ArticleDelete on-prem database failed
I was trying to delete an on-prem database in a sync group. It not allows to process and give me a warning saying :The gateway did not receive a response from 'Microsoft.Sql' within the specified time...
View ArticlePowerShell + Invoke-Sqlcmd and SCOM SQL update script
I am trying to automate a SCOM install. When you apply a UR to SCOM, no matter what the version, you must run one or more SQL scripts against the DB or DW for SCOM.When you run these in the...
View ArticleSQL Server 2016 Error in databse Extract data-tier application
===================================Could not extract package from specified database. (Microsoft.SqlServer.Dac)------------------------------Program Location: at...
View Article