T-SQL

SQLServerCentral Article

Performance Tuning with SQLFacts Tools

  • Article

The need for performance tuning your SQL Server workloads has never been more critical. As workloads are moved into cloud services, their efficiency has a direct impact on the recurring bills. A workload that consumes more resources than necessary costs more to host in the cloud and affects the bottom line for your organization.

5 (3)

You rated this post out of 5. Change rating

2023-04-07

10,396 reads

External Article

DAX CASE Statement Functionality with IF, SWITCH and SWITCH True

  • Article

The CASE expression is one of the most valuable tools in your T-SQL toolbox. I use it in almost every query I write. However, there isn't a direct equivalent of CASE in DAX. Since it's a different language entirely, I don't expect it. As my grandmother used to say, I am not surprised, just disappointed. If you don't know, DAX (Data Analysis Expressions) is a language for creating custom calculations and aggregations in Power Pivot, Power BI, and other data analysis tools. Two functions in DAX come close to replicating the functionality but come with limitations. Which one of these functions should you use? Please stay tuned.

2023-04-03

SQLServerCentral Article

ChatGPT in SQL Server - Practical examples

  • Article

Introduction ChatGPT in SQL Server In this article, we will learn some basic examples of ChatGPT in SQL Server. In a previous article, we had an interview with ChatGPT an AI chatbot developed by OpenAI. If you do not know how to use it yet, you can go to that article. We will show some […]

5 (8)

You rated this post out of 5. Change rating

2023-03-06

46,792 reads

Blogs

Sharpen Your SQL Skills: June’s Challenge Awaits!

By

This June, LearnSQL is throwing down the gauntlet with a fresh SQL Practice challenge....

Denver Dev Day – Best Practices for Database Deployments Resources

By

I delivered a talk today on database deployment best practices at the Denver Dev...

A New Word: desanté

By

desanté – n. the brooding delirium of being sick, which makes time slow to...

Read the latest Blogs

Forums

On Being an "Expert"

By Grant Fritchey

Comments posted to this topic are about the item On Being an "Expert"

Advice: how to script out existing Azure (logical) SQL Server logins

By Stteb

Advice on how to script out existing Azure (logical) SQL Server logins and mapped...

Abort Package after specified timeout project parameter

By Dave

Hi I have a sequence container which contains an execute package task which loads...

Visit the forum

Question of the Day

Adding Hints with Query Store

I have a query that is being tracked in the SQL Server 2022 Query Store. I want to add a hint to this query to ensure that the MAXDOP for this query is one. How can I do this with minimal code changes

See possible answers