Skip to content

Jayanth Kurup SQL Guy

Everything SQL and More

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

RECOMPLE behavior the difference between OPTION ( RECOMPILE ) AND WITH RECOMPILE

Posted on: July 17, 2018December 30, 2023

An interesting problem was posted on #SQLHelp the other day about using the QueryHint OPTION(RECOMPILE). If you are not sure about how recompile works here is a quick […]

administration / Database

Smart Log backups SQL Server 2017

Posted on: July 3, 2018December 30, 2023

Smart log backups is a feature introduced in SQL 2017 to allow DBAs to manage the transaction log growth better. Before we go into details it might be […]

administration / Azure / Database / Errors / MSSQL

Online Indexes Failures in Azure for VLDBs

Posted on: June 28, 2018December 30, 2023

Recently we had a requirement that was caused by a very unique situation. A table with a column of datatype nvarchar(max) was inadvertently populated with some text in […]

TSQL / Uncategorized

Adding a Quintillion

Posted on: June 10, 2018December 30, 2023

An interesting problem was asked on #Sqlhelp recently about adding very large numbers, in excess of 20 digits in SSAS tabular model. While most of us will find […]

Azure / MSSQL / TSQL / Uncategorized

Query to find size of tables in Azure database

Posted on: June 8, 2018December 30, 2023

Quick and dirty way to find the size of all tables in a azure database. DROP TABLE #list DROP TABLE #data GO CREATE TABLE #data ( name VARCHAR(100) […]

administration

Analyze Actual Execution Plan in SSMS

Posted on: June 1, 2018December 30, 2023

This might be a hidden gem in SSMS that most people aren’t aware of so I figured I would post about it. I recently used this feature to […]

administration / MSSQL

Plan reuse under Simple parameterization

Posted on: May 5, 2018December 30, 2023

Interesting problem came up today on #sqlhelp. A trivial plan results in multiple prepared Execution plans. To begin with let’s understand parameterization quickly. It is a mechanism that […]

administration / Errors

Snapshot isolation level when database is set to read only.

Posted on: April 27, 2018December 30, 2023

Recently there was a question posted on #sqlhelp about why a database switched to Snapshot isolation level when you make it read only and then reverts back to […]

administration / Errors / TSQL

Cannot use row granularity hint on the table

Posted on: April 16, 2018December 30, 2023

Got approached with the below error message recently and thought it might be an interesting problem to look into. ProgrammingError((\’42000\’, 651, \'[Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot use […]

administration / MSBI / MSSQL / TSQL / Uncategorized

#sqlhelp | should you remove indexes from tables before ETL?

Posted on: April 15, 2018December 30, 2023

Starting today we are introducing a new type of blog content which covers questions from #sqlhelp. We pick random questions from the feed and try to cover them […]

Posts pagination

Previous page Page 1 … Page 9 Page 10 Page 11 … Page 23 Next page

Please consider following

Subscribe

Recent Posts

  • Fuzzy String matches in TSQL
  • Executing Python Code in TSQL using SQL 2022
  • When is a date not a date in MS SQL SERVER?
  • The certificate received from the remote server was issued by an untrusted certificate authority
  • How to reduce the impact of mismatched collations in MS SQL Server
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