Skip to content

Tomas Lind

  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software

Tips & Tricks

Posted in
  • T-SQL
  • Tips & Tricks

Identity columns that are about to overflow

Identity columns are widely used as primary key columns in SQL Server tables. They can be … Identity columns that are about to overflowRead more

by Tomas Lind•2016/12/082025/06/12•0
Toggl Time entries to SQL Server
Posted in
  • PowerShell
  • Tips & Tricks

Toggl Time entries to SQL Server

Toggl is a very simple to use cloud based time tracking application. Time entries on projects … Toggl Time entries to SQL ServerRead more

by Tomas Lind•2016/06/142016/06/21•1
Posted in
  • T-SQL
  • Tips & Tricks

Split strings to columns

A short demo on how to split strings with delimiters into columns.

by Tomas Lind•2016/05/252016/05/25•0
Send email when log or data file grows
Posted in
  • Monitoring
  • Tips & Tricks

Send email when log or data file grows

One way to keep track of your data- and log file sizes in SQL Server, is … Send email when log or data file growsRead more

by Tomas Lind•2015/10/192015/10/19•0
sys.dm_exec_cached_plans
Posted in
  • Dynamic Management Objects
  • Monitoring
  • Tips & Tricks

sys.dm_exec_cached_plans

The dynamic management view sys.dm_exec_cached_plans returns information on query plans currently in memory. This information can … sys.dm_exec_cached_plansRead more

by Tomas Lind•2015/07/142015/07/07•0
How to fill in gaps in time series
Posted in
  • T-SQL
  • Tips & Tricks

How to fill in gaps in time series

In some cases it is necessary to have an unbroken time series, for instance to have … How to fill in gaps in time seriesRead more

by Tomas Lind•2015/07/072015/06/29•2
Calculating Earned Premium in SQL Server
Posted in
  • Insurance
  • Tips & Tricks

Calculating Earned Premium in SQL Server

In most business, when a company receives payment for a sold product, that payment can be … Calculating Earned Premium in SQL ServerRead more

by Tomas Lind•2015/06/302015/12/15•5
Sending HTML tables in mail from SQL Server
Posted in
  • Database Mail
  • T-SQL
  • Tips & Tricks

Sending HTML tables in mail from SQL Server

This post contains a template for sending HTML tables via mail in T-SQL. A prerequisite is … Sending HTML tables in mail from SQL ServerRead more

by Tomas Lind•2015/06/262015/07/03•20
Mass editing of SQL Server objects
Posted in
  • Dynamic Management Objects
  • T-SQL
  • Tips & Tricks

Mass editing of SQL Server objects

Ever had the need to replace a piece of code in multiple SQL Server objects (Stored … Mass editing of SQL Server objectsRead more

by Tomas Lind•2014/12/102015/05/05•2
Max or min value from a set of columns
Posted in
  • T-SQL
  • Tips & Tricks

Max or min value from a set of columns

The min and max aggregates in SQL Server are normally used to work over rows, getting … Max or min value from a set of columnsRead more

by Tomas Lind•2014/08/162014/08/15•0

Posts pagination

1 2 Next

confided data manager

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • Export data from Excel to SQL Server
  • How to align columns in Notepad++
  • CDC Cleanup job
  • Sorted data flows in SSIS
  • Automatic retries in a SQL Agent job

Recent Posts

  • Get element max value from folder with XML files
  • Dynamic Data Masking (DDM) – Mask query results
  • The T-SQL Merge statement
  • From SQL Server to MSMQ using PowerShell
  • Identity columns that are about to overflow

Archives

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2025 Tomas Lind.
Powered by WordPress and HybridMag.
  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software