Peter Lalovsky


MariaDB: PIVOT

I googled “mariadb pivot” and the first answer was this. Ouch, this is a big (and complex) procedure. Then I scrolled down, but I couldn’t find a quick answer, so I created one. Here is the template: Keep it simple :-)


SSIS: Check for Errors in SSISDB and Send Email

SSISDB is the database that is collaborating with SSIS. When we execute a package, the execution information is logged in SSISDB. If a job is scheduled, we need to know if there are errors in the executions. As a last step in SSIS package, I run stored procedure that searches […]


T-SQL: Change Tracking Retention Period – What do we have after it expires

In the last posts we played with Change Tracking (CT): T-SQL: Change Tracking – What is this and how it works T-SQL: Change Tracking Retention Period – How Long the Changes are Kept? Let’s execute few queries and see what do we have after the retention period expires.