Skip to content

Jayanth Kurup SQL Guy

Everything SQL and More

  • Home
  • PowerBI
  • Simply Better Business
  • Business Intelligence
  • Contact Us
  • Clients and Testimonials
Database / MSSQL

Does DB_ID use identity column or Sequence?

Posted on: July 26, 2023June 20, 2025

An interesting use case came up recently about misusing databases keys by piggy backing off the DBID of another database that already exists. This is a theoretical exercise […]

administration / Azure / Database / MSSQL

How to modify a bacpac file – Moving databases from Azure SQL to SQL VM

Posted on: July 4, 2023June 25, 2025

When working with Azure SQL databases one of the challenges is how difficult it is to move data across environments. Say for example we have a production database […]

administration / Azure

Modifying a bacpac file

Posted on: April 3, 2023June 25, 2025

When working with Azure SQL databases one of the biggest irritants is the lack of access to backup files. A lot of the time we need to refresh […]

administration / Azure

Updating Stats in Azure SQL Database

Posted on: January 31, 2023June 25, 2025

Recently we were having some issues with DTU utilization in Microsoft SQL Azure. One of the troubleshooting steps that was suggested was the update statistics and rebuild indexes. […]

TSQL

Profile columns for indexes

Posted on: January 10, 2023June 25, 2025

Every once in a while, as part of a consulting project I need to investigate all the different columns and datatypes used within the tables. Often in order […]

Database / Misc / MSSQL / TSQL

Monty Hall Simulation using T-SQL

Posted on: April 5, 2022June 25, 2025

The first time I heard about the Monty Hall problem was while watching TV. The host of the TV show had presented the problem as you typically see. […]

Database / MSSQL / TSQL

Query to quickly profile a column

Posted on: February 7, 2022June 25, 2025

Every once in a while, there is a need to quickly profile columns in a table. typically as part of a redesign, the below query help quickly profile […]

TSQL

Part 2:- Learning T SQL for beginners – Datatypes

Posted on: September 28, 2021June 25, 2025

In the previous post I talked about what Microsoft SQL Server programming language (T-SQL) is about. I also explained what a table is and what basic information is requires. In this […]

TSQL

Part 1:- Learning T SQL for beginners- SQL, Tables and Nulls

Posted on: September 27, 2021June 25, 2025

Learning SQL is easy when you have a good understanding of the basics. Everything else is based on the basics and it’s been the same since RDBMS (relational […]

administration

Query to find execution time of Jobs

Posted on: July 28, 2021June 25, 2025

Recently we have been facing couple of issues with regard to the way the jobs have been scheduled. To investigate this, we needed a query that can identify the execution […]

Posts pagination

Previous page Page 1 Page 2 Page 3 Page 4 … Page 23 Next page

Please consider following

Subscribe

Recent Posts

  • IntelliSense not working in latest version of SSMS
  • Converting times across time zones
  • SQL 2025 Optimized locking in SQL2025
  • You Can’t Be King till You’ve Killed Someone 
  • Fuzzy String matches in TSQL
Log in

Categories

  • administration
  • AI-ML
  • AWS
  • Azure
  • Database
  • Errors
  • Misc
  • MSBI
  • MSSQL
  • MYSQL
  • NOSQL
  • PowerBi
  • Security
  • TSQL
  • Uncategorized
  • Wordpress
Log in
Theme Shaft Blog Powered by Kantipur Themes