How to get query results?
Hello,I have a query I need to write and I am having some major troubles. Basically, the table works as follows. Inside the table, there are codes that are tracked on all of our assets. Example...
View ArticleView history using Ola Hallengren scripts
Hello, I'm trying to use the Ola Hallengren scripts to backup SQL databases running on SQL Server Express 2017. I'm creating batch files and using Task Scheduler to run them on a schedule. Here is a...
View Articleissue loging in Microsoft SQL LINUX with AD?
Hi,I was wondering if someone else has had this issue before. Currently installed ubuntu 16.04 with Microsoft SQL on linux. I connected the ubuntu to the domain and configured SPN. I used this tutorial...
View ArticleSQL report error
Not sure if anyone has come across this. We have a report that is run daily through the report writer that is written in SQL. It has run without problems for over 2 years. Last Thursday it quit...
View ArticleGet Multiple Counts in one Statement
Hi there,i'm stuck with a SQL-Statement.This is my current...
View ArticleCannot connect to SQL AG listener after failover
Running into an odd one:I have two SQL 2014 servers in an Always-On cluster (herein named SQL-01 and SQL-02). Both nodes are on the same subnet, failover works like a charm, and most services barely...
View ArticleMax connection pool
Hey everyone,Hoping you can help with this -We have a EHR system with LDAP lookup that points to our AD credentials for sign-in.Periodically we are having troubles signing in -"Timeout expired. The...
View ArticleSQL Server Topology
Hello,We have 2 offices, which are around 4000 miles apart, connected by a standard site-site VPN.We have a business application which reads and writes data to an SQL database, the problem is the...
View ArticleMicrosoft SQL Analysis Services - Cluster Installation Problem
Hi All, got MSSQL setup already in a 2 node cluster and all that works without issue, we've been running like this for about 1 year.I recently wanted to add 'Analysis Services' to the install so I did...
View ArticleSQL Case command in joined script returns too many rows
Trying to eliminate the duplicates / what the heck am I doing ???select PONUMBER, ord, POLNESTA from POP10110 where PONUMBER = '54_0015328'selectRTRIM(pol.PONUMBER) AS 'PO',pol.ord,CASE WHEN...
View ArticleCopy MSSQL table from one server to another including keys and indexes
I have been working on a small project for about two weeks. We want to consolidate a few tables from several remote server databases in order to run queries and reports on separate from the live...
View ArticleHow to find the SQL server 2016 product key from server
I have SQL server 2016 installed in a server which was installed by our ERP consultant. Is there anyway I can find the product key of SQL server 2016 from server?
View ArticleHow to Enable SQL Server Audit and Review the Audit Log
Auditing Microsoft SQL Server is critical to identifying security issues and breaches. In addition, auditing SQL Server is a requirement for compliance with regulations like PCI DSS and HIPAA.The first...
View ArticleHow to import Exchange email into SQL 2012?
We have a report manager server that emails out reports. But it is getting back a lot of email rejection notices from sending out reports to invalid and expired email accounts. I'm looking for a way to...
View ArticleSQL Server Encryption Explained: TDE, Column-Level Encryption and More
Data protection is critical for ensuring that your organization is compliant with regulatory compliance standards like the GDPR and for meeting the expectations of your clients and business partners....
View ArticleAdd Second page to SSRS report
Hi all, I have a 1 page SSRS report, and I want to add a second page. The only thing on the second page will be text. I have looked online regarding how to simply add a second page to an SSRS report,...
View ArticleSlow search return cased by Zip+4 codes or something else...
Hello all.I need your help. I am getting a slow response on the "Stuff" function, when its sorting outZip+4 codes, or I am not sure where... Can you please take a look what can be improved to search...
View ArticleHow to concatenate a column if the query result has duplicates of that value?
I want to make a column distinguishable by concatenating it when another column so the user can tell which specific row they are looking at. I want this to only happen for rows that have the same...
View ArticleHow to setup Bidirectional Transnational replication MSSQL 2014 Standard
Hello Folks,I need to set up two-way replication with the standard edition, where I'll use a single machine at a time and another one will be failover machine.I need this replication to be completed in...
View ArticleSoftware issues with a SQL backend
I have a client that just got a new LOB. It uses SQL 2016 to run the DB then has a client app on each PC for the front end that access the SQL DB. I haven't had a LOB with on prem SQL in a long time...
View Article