Skip to content
SQL Habits
  • Home
  • About

Jared

Planting a Debug Flag in T-SQL

August 14, 2022
Debug Flag

Are you looking for a way to debug stored procedures in SQL Server? Keep reading for a technique that’s worked for me and countless others.

Categories SQL, SQL Server Tags Database, SQL, SQL Server, Stored Procedures, T-SQL

Required SQL Indexes

June 4, 2022May 28, 2022
Required SQL Indexes

If you talk to any data professionals about query performance, they’ll bring up indexes in the first few minutes. For good reasons, Indexes are critical … Read more

Categories SQL, SQL Server Tags Database, SQL, SQL Server, T-SQL

Delete Duplicate Rows in T-SQL

June 4, 2022May 14, 2022
Delete Duplicate Rows

We don’t live in a perfect world, which means duplicate rows occasionally show up. Sometimes you just need to delete them and make comments about … Read more

Categories SQL, SQL Server Tags T-SQL

Storing Big Ugly Tables

August 4, 2022February 24, 2022
Storing Big Ugly Tables

Have you ever had a big ugly table? A table with millions or even billions of rows. Perhaps you wanted to truncate it! But no, … Read more

Categories SQL, SQL Server Tags Columnstore, SQL Server, T-SQL

Did You Google That?

January 3, 2022January 3, 2022
Did you google that?

One of my first jobs out of college was working in tech support. Comparable to retail, but customers were often less pleasant since there was … Read more

Categories Habit, Learning Tags Habit, Learning

Generate Random Dates In T-SQL

July 12, 2022December 2, 2021
Generate Random Dates T-SQL

Have you ever needed to create a random date in SQL over a group of rows? Whenever I build a dataset for demos or testing, … Read more

Categories SQL, SQL Server Tags SQL, SQL Server, T-SQL
Older posts
Page1 Page2 Next →

Recent Posts


  • Planting a Debug Flag in T-SQL
  • Required SQL Indexes
  • Delete Duplicate Rows in T-SQL
  • Storing Big Ugly Tables
  • Did You Google That?

Categories


  • Azure
  • Habit
  • Learning
  • SQL
  • SQL Server
  • Synapse
  • Twitter
  • LinkedIn
© 2023 SQL Habits