Elein

Read Blogs

Technical Blog
* and if you don’t like the weather, go out and make some of your own! (apologies to Scoop Nisker) Get a little help for your queries WITH data sources that can be predefined and precalculated as well as clarify where your data is coming from and how. PostgreSQL 12 has added a feature to the WITH statement functionality. It will inline WITH definitions into the main query to speed up the query...
Technical Blog
Postgresql String Functions and Operators. This blog today is going to talk about strings: how they are stored, how they are input, and lots of examples of how to use string operators and functions in order to manipulate them. Strings, strings, strings. What we are not going to cover is regular expressions, although we will use them. The Fine Manual has a very good description of the options on...
Technical Blog
The problem: duplicate rows Once upon a time, there was a database person who knows about referential integrity and its importance for creating database tables. The interesting part is that referential integrity, including primary keys, enable keeping with the standard of not having duplicate rows. However, they just wanted a private little table on their private little database to hold their...
Technical Blog
Some people go to great lengths to avoid GROUP BY and HAVING clauses in their queries. The error messages are fussy but they are usually right. GROUP BY and HAVING key words are essential for good SQL reporting. The primary reason for GROUP BY is to reduce the number of rows, usually by aggregation. It produces only one row for each matching grouping from the input. This allows you to make...
Technical Blog