Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
This post is a response to this month's T-SQL Tuesday #112 prompt by Shane O'Neill.
-
Watch this week's video on YouTube AT TIME ZONE is great because it makes it easy to perform daylight saving time and time zone conversions in our queries.
-
Watch this week's video on YouTube Computed column indexes make querying JSON data fast and efficient, especially when the schema of the JSON data is the same throughout a table.
-
Watch this week's video on YouTube One thing I see fairly often (and am occasionally guilty of myself) is using COUNT(DISTINCT) and DISTINCT interchangeably to get an idea of the number of unique values in a column.
-
Watch this week's video on YouTube Recently I was asked how to parse text out of an HTML fragment stored in SQL Server.
-
This post is a response to this month's T-SQL Tuesday #111 prompt by Andy Leonard.
-
Watch this week's video on YouTube dbatools is one of the coolest community projects I've seen - it is amazing how many commands are available to help make managing your SQL Server instances a breeze.
-
Watch this week's video on YouTube When building indexes for your queries, the order of your index key columns matters.
-
Watch this week's video on YouTube The execution plan cache is a great feature: after SQL Server goes through the effort of generating a query plan, SQL Servers saves that plan in the plan cache to be reused again at a later date.
-
Watch this week's video on YouTube While most of us strive to make as few mistakes as possible when it comes to our servers and data, accidents do occasionally happen.
-
This post is a response to this month's T-SQL Tuesday #110 prompt by Garry Bargsley.
-
This post is part 3 in a series about physical join operators (be sure to check out part 1 - nested loops joins, and part 2 - merge joins).
-
A few days ago I was surprised to learn from Aaron Bertrand of SentryOne that he was selecting me as Community Influencer of the Year for 2018.
-
This post is part 2 in a series about physical join operators (be sure to check out part 1 - nested loops joins, and part 3 - hash match joins).
-
This post is the first in a series about physical join operators (be sure to check out part 2 - merge joins, and part 3 - hash match joins).
-
Watch this week's video on YouTube WITH SCHEMABINDING optimizations were added all the way back in SQL Server 2005.
-
Watch this week's video on YouTube Following up on last week's post about the different types of SQL injection, this week I want to show how injection can be used to obtain a SQL login and its password.
-
Watch this week's video on YouTube I'm not advocating that you start using SQL injection to start stealing other people's data.
-
Watch this week's video on YouTube What happens when you run into performance tuning expert Pinal Dave?
-
This post is a response to this month's T-SQL Tuesday #108 prompt by Malathi Mahadevan.
-
Watch this week's video on YouTube While families and friends are scaring each other this Halloween week with stories of ghosts and ghouls, I thought it'd be way scarier to talk about truncate tables and source control.
-
I do my best work in the mornings.
-
Watch this week's video on YouTube While I normally prefer formatting my query results in a downstream app/reporting layer, sometimes I can't get around adding some business formatting logic to my SQL queries.
-
This post is a response to this month's T-SQL Tuesday #107 prompt by Jeff Mlakar.
-
Watch this week's video on YouTube This week I had the opportunity to learn about dashboards, reports, and datasets in Power BI using the best kind of teaching tool: fresh, delicious, chocolate chip cookies.
-
Watch this week's video on YouTube Imagine you have to perform some salary analysis for your employer International Mega Corp.
-
Watch this week's video on YouTube A while back I built an automated process that parses JSON strings into a relational format.
-
This post is a response to this month's T-SQL Tuesday #106 prompt by Steve Jones.
-
Watch this week's video on YouTube When beginning to learn SQL, at some point you learn that indexes can be created to help improve the performance of queries.
-
Watch this week's video on YouTube The SQL Server FIRST_VALUE function makes it easy to return the "first value in an ordered set of values."
-
Watch this week's video on YouTube Last week I needed to write a recursive common table expression.
-
This post is a response to this month's T-SQL Tuesday #105 prompt by Wayne Sheffield.
-
Watch this week's video on YouTube I write a lot of dynamic SQL and frequently encounter variables that contain many characters: DECLARE @LongValue NVARCHAR(MAX) = CAST('' AS NVARCHAR(MAX)) + N'SELECT ''A'' AS AShortValue, '''+REPLICATE(N'A',4000…
-
Watch this week's video on YouTube One of the things that the SQL Server query optimizer does is determine how to retrieve the data requested by your query.
-
Watch this week's video on YouTube This week I was fortunate enough to film a video in collaboration with Pinal Dave, the SQL Authority himself.
-
This month's T-SQL Tuesday topic asked "What code would you hate to live without?"
-
This post is a response to this month's T-SQL Tuesday #104 prompt by me!
-
The recent news about Microsoft acquiring GitHub has me thinking about how amazing it is for us to be part of today's online code community.
-
Watch this week's video on YouTube While the text of this post contains good information on SSMS object filters, I highly recommend watching this week's video on YouTube - I stretched my creativity with filming this week while I was on vacation.
-
In this post and video at SQLPerformance.com, I discuss what join elimination is and how it works in SQL Server.
-
Watch this week's video on YouTube I love continuing my education in SQL Server.
-
Watch this week's video on YouTube Occasionally you may need to create a lookup table of values for a single query.
-
Watch this week's video on YouTube When I started working with T-SQL, I thought the GO command was optional, kind of like semicolons.
-
Watch this week's video on YouTube Tedious, repetitive tasks are the bane of any lazy programmer.
-
Watch this week's video on YouTube Watch this week's episode on YouTube.
-
This post is a response to this month's T-SQL Tuesday #102 prompt by Riley Major.
-
Watch this week's video on YouTube Recently I received a great question from an attendee to one of my sessions on JSON (what's up Nam!)
-
Watch this week's video on YouTube SQL Server recovery models define when database transactions are written to the transaction log.
-
Watch this week's video on YouTube When In-Memory OLTP was first released in SQL Server 2014, I was excited to start using it.
-
This post is a response to this month's T-SQL Tuesday #101 prompt by Jens Vestergaard.