SQLServerCentral Article

Manage Your Business Rules in T-SQL Query

Motivation At some point in the carrer, we have come across the problem of hard-coded values in SELECT or WHERE clauses.  And we all agree that these hardcoded values must be parametrised. This bad habit usually backfires when we need to troubleshoot a query. These hardcoded values are usually a business role baked in the […]

4 (1)

You rated this post out of 5. Change rating

2022-10-18 (first published: )

11,192 reads

SQLServerCentral Article

Playing popular game of Wordle using T-SQL

Popular and addictive game of Wordle is now written in Transact SQL script. With this script, you can now  play this game on Microsoft SQL Server, using your favourite editor - SSMS, ADS, VS Code, and enjoy playing the game during free time, or whilst waiting for the other SQL query to complete.

You rated this post out of 5. Change rating

2022-01-19

4,515 reads

SQLServerCentral Article

Playing popular game of Wordle using T-SQL

Popular and addictive game of Wordle is now written in Transact SQL script. With this script, you can now  play this game on Microsoft SQL Server, using your favourite editor - SSMS, ADS, VS Code, and enjoy playing the game during free time, or whilst waiting for the other SQL query to complete.

You rated this post out of 5. Change rating

2022-01-19

702 reads

SQLServerCentral Article

Creating Markdown Formatted Text for Results from T-SQL

Markdown documents are becoming increasingly more popular and relevant with the emergence of notebooks. Markdown is a markup language for creating formatted text. It is widely used in tools for collaboration, tools for creating documentation and notebooks. Formatting is easy to understand, readable, simple to adopt, and agnostic. I can use a markdown document on […]

You rated this post out of 5. Change rating

2021-11-29

10,998 reads

Blogs

Scooby-Doo and the Mystery of Cloud Costs (Let’s have some fun!) – Scooby Dooing Episode 1

By

If there’s one thing I’ve learned in consulting, it’s that SQL Server, and other...

Fabric Real Time Data: Making the Shift from Batch to Live Insights

By

Embracing the New Paradigm Fabric real-time data signals a fundamental shift in how organizations...

Get required permissions for DMVs

By

Part of my job at work is to update Transact-SQL reference content. System dynamic...

Read the latest Blogs

Forums

Fetch fields like email address from multiple records into single cell

By Saravanan Venkatesan

Comments posted to this topic are about the item Fetch fields like email address...

Enables Change Data Capture (CDC) on all user databases

By Akash Rathi

Comments posted to this topic are about the item Enables Change Data Capture (CDC)...

Free T-SQL Script: Database Schema Documentation Generator for Generative AI Services Integration

By inbathiru

Comments posted to this topic are about the item Free T-SQL Script: Database Schema...

Visit the forum

Question of the Day

Change Tracking and Database Compatibility

I want to enable Change Tracking for a database. What is the minimum database compatibility level I need to set for the Changetable function to work correctly?

See possible answers