Evening or morning poll results!
Evening or morning poll results! DBA From The Cold Posted on 3 August 2018 Comments And the results of the poll are in! Evening just scraping it! So there’s a pretty even mix out there, interesting....
View ArticleQuestions from PASS Marathon Containers
Questions from PASS Marathon Containers aen Posted on 3 August 2018 Comments Thanks to everyone who attended the PASS Marathon Containers edition and to PASS for the opportunity to present. I received...
View ArticleVisual Studio- All the Warm and Fuzzy
So I haven’t opened Visual Studio in….oh….let’s just say it’s been a few years…:) I had a project that I needed to run and was surprised when the Solution Explorer was missing from SSMS 2017. Its only...
View ArticleRestricting the sql server table to two fields
I have a table with multiple columns with data periodically inserted. I would like to focus on two fields where if one value is entered in Column A, nothing should be allowed to be entered in column B....
View ArticleValidating the Date Setting in the SQL Server Stored Procedure
I've written a stored procedure that takes in a date parameter. My concern is that there will be confusion between American and British date formats. What is the best way to ensure that there is no...
View ArticleSpring Boot DB2 and MSSQL Configuration
By default Spring boot does a lot for you in datasource configuration, but if you’re using two separate database types DB2, mssql, mysql, Oracle, etc. It doesn’t know how to infer which database type...
View ArticleUpdating the operation with a substring in MSSQL
I have the below table in my mssql. itemNo itemDesc ComponentType Voltage 100001LF CAP CER 10n 25V 20% 0805 CAPACITOR NULL 100002LF CAP CER 10n 50V 20% 1206 CAPACITOR NULL 100008LF CAP CER 100n 25V 20%...
View ArticleSQL Server replication Could not connect to server ‘Server1’ because ‘Server2...
This post shows on of the possible solutions to the following error for replication setting up. “Could not connect to server ‘Server1’ because ‘Server2’ is not defined as a remote server. Verify that...
View ArticleInteresting Stuff - Week 31
Throughout the week, I read a lot of blog-posts, articles, and so forth, that has to do with things that interest me: data science data in general distributed computing SQL Server transactions (both db...
View ArticleFilling [propagading] empty values with last nonNull value using T-SQL
So you have NULL values in your SQL Server table and you want to populate those NULL values with the last non-NULL value, based on a particular order. Once you have only one NULL values encapsulated...
View ArticleAzure Tips and Tricks Part 147 - Run TSQL on an Azure SQL database with Azure...
Intro Most folks aren’t aware of how powerful the Azure platform really is. As I’ve been presenting topics on Azure, I’ve had many people say, “How did you do that?” So I’ll be documenting my tips and...
View ArticleDetermine SQL Server Network Protocol Information using T-SQL and DMVs
By: Eduardo Pivaral || Related Tips:More >Functions - System Problem You need to determine the network protocols and the enabled/disabled status in your SQL Server instances, but for whatever...
View ArticleThe ‘Right to be Forgotten’ and Data Masker for SQL Server
The right to be forgotten is one of the main features of new data protection legislation across the globe. Under Article 17 of one such piece of legislation in Europe, the GDPR, individuals have the...
View ArticleSQL Server On Containers Q&A
Connecting GitHub To Azure Container Registry Kevin Feasel 2018-07-26 Cloud , Containers , Source Control No Comment Andrew Pruski automates the generation of SQL Server Docker images in Azure...
View ArticleT-SQL Formatters
The other day I was given a truly horribly formatted piece of SQL. Something a bit like this only worse, and with plenty of dynamic SQL. CREATE TRIGGER [Sales].[iduSalesOrderDetail] ON...
View ArticleTwo Important Differences Between SQL Server and PostgreSQL
SQL ConstantCareuses PostgreSQL as a back end specifically, AWS RDS Aurora so I’ve spent a lot of time writing Postgres queries lately. Here are some of the things I’ve noticed that are different....
View ArticleTop things you need in a SQL Server performance monitoring tool (from...
SQL Server is an excellent platform to use as a backend for various database applications. It offers a fast and stable basis that allows the application to run fast, increasing the end user...
View ArticleSQL Server 2005 / XML Stored Proc - Unicode to Ascii? &a ...
I have an mssql2005 stored procedure here, which is supposed to take an XML message as input, and store it's content into a table. The table fields are varchars, because our delphi backend application...
View ArticleAnalyze Actual Execution Plan
Analyze Actual Execution Plan Grant Fritchey Posted on 6 August 2018 Comments One of the many new sets of functionality introduced in SQL Server Management Studio 17 is the new option “Analyze Actual...
View ArticleWill Terminators Be Required?
I was looking at an article the other day and noticed that there was a CTE sample with the semicolon on the line before the code. I’ve been seeing this convention for years, starting your CTE with a...
View Article