-- • Step 01 : Optimized 'pttype' filtering performance using range scan patterns. -- • Step 02 : Implemented Sorted Subquery (Derived Table) with row-count forcing -- to prevent dynamic user-variable ...
-- - Supports the scenario where log files list consist of both the file name formats -- - When CSV format is used, a check-constraint is added to the child table ...
Splitting a string by a delimiter in SQL Server involves breaking a single text string into smaller parts based on a chosen character. This is often done using functions like STRING_SPLIT, which ...
SQL is a tool that is widely used in the manipulation of data and featuring in the relational database. They are applied in querying, manipulating as well as reporting data and it is commonly used by ...
Today I learned that you can have multiple CTEs within a single PostgreSQL query. And, that these CTEs can reference each other. So freaking cool! To demonstrate, I'm going to build-up a SQL query ...
I've used DSPPGMREF for decades. There were some 3rd party software offerings along the way that did a better job of providing a complete object cross reference database. DSPPGMREF is what most people ...
If you ever need to sort character strings stored in SQL Server fields, check out this demonstration of how to write a common sorting algorithm using SQL Server TSQL code. You are probably familiar ...