Skip to content
  • Home
  • About
  • Contact
  • Legal
    • Privacy Policy
    • Cookie Policy

Peter Lalovsky

Keep it simple

Peter Lalovsky

Keep it simple
  • Home
  • About
  • Contact
  • Legal
    • Privacy Policy
    • Cookie Policy

I met a code that CONVERT(BIT, Value) and insert into BIT column. Let’s see what are the possible values.

T-SQL

T-SQL Hint: What are the values that we can insert …

  • Hints
by Peter Lalovsky
Published 2018-01-11

I needed to quote an identifier (a column name) with “<“. I checked the documentation for the build-in function QUOTENAME() and I did not find the information that I need. Here is a quick T-SQL to show which characters we can use as a second argument of the function.

T-SQL

T-SQL: The ‘quote_character’ in the Built-in Function QUOTENAME()

  • Built-In Function
  • Hints
  • QUOTENAME()
  • T-SQL
by Peter Lalovsky
Published 2018-01-10

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 […]

Automation Backend Database Administration (DBA) Database Development ETL SQL Server SSIS

SSIS: Check for Errors in SSISDB and Send Email

  • Automation
  • Backend
  • Error Handling
  • ETL
  • Send Email
  • SSIS
  • SSISDB
by Peter Lalovsky
Published 2017-12-29

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.

Backend Data Warehouse (DW) Database Administration (DBA) ETL T-SQL

T-SQL: Change Tracking Retention Period – What do we have …

  • Backend
  • Change Tracking
  • Data Warehouse (DW)
  • DBA
  • ETL
  • SQL Server
  • T-SQL
by Peter Lalovsky
Published 2017-12-19
T-SQL: How to Search for % in String (% and LIKE)

In one of my web projects (ASP.NET and SQL Server) I have a screen with top 50 customers. To facilitate the client, I put few textboxes and give them the chance to filter the customers, until they reach the one that they need. In another case I use a textbox […]

T-SQL

T-SQL: How to Search for % in String (% and …

  • Run-Around
  • String
  • T-SQL
by Peter Lalovsky
Published 2017-11-29

As we mentioned in Change Tracking – What is this and how it works, the retention period is the one that determines how long the changes are kept.

Backend Data Warehouse (DW) ETL SQL Server T-SQL

T-SQL: Change Tracking Retention Period – How Long the Changes …

  • Change Tracking
  • Data Warehouse (DW)
  • DBA
  • ETL
  • Performance
  • SSIS
  • T-SQL
by Peter Lalovsky
Published 2017-11-15

Change tracking was introduced in SQL Server 2008. This is a tool that keeps the fact that there are changes in tracked tables for a specified period of time. It doesn’t show what the changes are, it tells that a data has been changed. It answers if a change has been […]

Data Warehouse (DW) Database Administration (DBA) ETL SQL Server T-SQL

T-SQL: Change Tracking – What is this and how it …

  • Change Tracking
  • Data Warehouse (DW)
  • DBA
  • Deployment
  • ETL
  • Performance
  • SSIS
  • T-SQL
by Peter Lalovsky
Published 2017-11-14
T-SQL: UDF Scalar Function to quote the DB Object Name

While working on ETL, I build a list of tables and their corresponding columns that need to be created on the destination server. In this case the square brackets around SchemaName and TableName are mandatory. I started adding the square brackets with the built-in function QUOTENAME(), but soon I got […]

ETL T-SQL

T-SQL: UDF Scalar Function to quote the DB Object Name

  • ETL
  • T-SQL
  • User Defined Function
by Peter Lalovsky
Published 2017-10-27

While working on autocomplete dropdown, i created a simple scalar function that replaces multiple spaces with one.

T-SQL

T-SQL: UDF Scalar Function to Clean Multiple Spaces

  • String
  • T-SQL
  • User Defined Function
by Peter Lalovsky
Published 2017-04-01
PowerShell: List Installed Software on Local Computer in .CSV File

I had to collect the installed software from few computers and i used Belarc Advisor. The fun came when i started to consolidate the data :-) To make my future life easier, I wrote a PowerShell script that exports a list of the installed programs into .CSV file.

Automation Backend PowerShell

PowerShell: List Installed Software on Local Computer in .CSV File

  • Automation
  • CSV
  • Extract
  • PowerShell
by Peter Lalovsky
Published 2017-03-02

Categories

Tags

Aggregate Assembly Automation Azure Azure App Service Azure Data Factory (ADF) Azure Data Lake (ADLS) Azure Synapse Backend Book Built-In Function Change Tracking CLR CSV Databricks Data Warehouse (DW) Dates DBA DDL Deployment Dynamic-SQL EAV ETL fabric framework Good Practice Hints MariaDB NULL Optimization Performance Python REST API Run-Around Running Total Running Value Serverless SQLCMD SQL Data Type SQL Server SSIS SSRS String T-SQL Training User Defined Function

Posts navigation

  • Newer posts Newer posts
    • 1
    • …
    • 3
    • 4
    • 5
    • …
    • 7
  • Older posts Older posts

© 2026 Peter Lalovsky – All rights reserved

Powered by WP – Designed with the Customizr theme