Posts Tagged: sql

Home » sql

(English) Rarely Used But Useful PostgreSQL Features

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.I'm an avid user of SQL and the variety of - frequently overlooked - features it provides. However, unfortunately the possibilities of SQL and modern, advanced open source incarnations of RDBMS such as PostgreSQL aren't utilised to the extent they could be when developing web or enterprise applications today. More often than not SQL database are perceived as a mere data store for persisting object-oriented data, which can give rise to the famous object-relational ... Read more

(English) Modern SQL by Markus Winand

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last year, I attended an event during which SQL trainer and consultant Markus Winand gave an aptly titled talk on Modern SQL: Evolution of a dinosaur (the linked video is not from that event but it shows the same talk given at another event). Markus runs a website called Modern SQL, which provides an impressive range of SQL tips, best practices, descriptions of both highly useful and lesser known SQL features and comparisons between ... Read more

(English) Using Spring JdbcTemplate Instead of Object-Relational Mapping

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Spring JDBC and Spring JdbcTemplate in particular has become my go-to tool for accessing relational databases for quite some time now and for good reason in my opinion: The common way for using data from an RDBMS in an object-oriented context used to be and for the most part still is object-relational mapping (ORM) frameworks like the Java Persistence API (JPA) or Rails' ActiveRecord. As the name suggests these frameworks attempt to map data ... Read more

(English) Keeping database schemas up-to-date with Flyway

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.At least ever since Ruby on Rails' Active Record Migrations put an emphasis on keeping database schemas consistent with your software's source code both during development and in production database migration tools have become a staple in modern software development. Database migration (or database refactoring as this technique is sometimes called as well) tools allow you to apply data definition language (DDL) statements like "CREATE TABLE ..." or "ALTER ..." to databases in an ... Read more

(English) Sharing and exploring data models and database patterns

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Somewhat in the vein of last week's post, I'd like to share a new service called dbpatterns with you. dbpatterns allows you to create ER models in the browser and share them with other users. If a particular pattern or model suits your needs you can directly export its DDL for PostgreSQL, SQLite, MySQL or Oracle RDBMS. I really appreciate the idea of promoting and sharing best practices for database systems. While object-oriented software ... Read more

(English) Hands-on SQL Tips: Sentinels And Window Functions

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Sometimes when displaying data in an application you want the amount of data (rows, individual data points etc.) to be limited for the app to stay responsive and to allow the user to more easily scan and browse the data set. In SQL this is commonly done using a LIMIT statement: SELECT * FROM table LIMIT 100 Now, what if you want to not only display the data but also inform the user in case ... Read more

(English) Analyzing Large Datasets With SQL

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.As part of a web application I've created for a client, I've been working on efficient analysis of somewhat large datasets for some time now. This analysis often involves complexing grouping, clustering and value aggregation. SQL and PostgreSQL aggregate functions in particular come in quite handy when dealing with that kind of challenge. While RDBMS and SQL certainly are useful already just for keeping and retrieving data, i.e. for running your usual CRUD operation, ... Read more

(English) Modern SQL (with PostgreSQL)

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.SQL expert Markus Winand some time ago posted an insightful presentation on Modern SQL (mostly PostgreSQL-focussed) at SlideShare. The 116 slides contain plenty of modern SQL idioms you likely haven't used before. Even if you're an experienced SQL developer the presentation is still worth checking out. Read more

(English) ZenQuery is now open source

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Today I made ZenQuery available as open source (under the Apache License). ZenQuery is an 'Enterprise Backend as a Service' and allows you to easily access databases through a REST API without any programming knowledge required. Get SQL result sets as JSON, XML or CSV data, which can easily be processed by tools such as MS Excel or in your own applications. ZenQuery provides you with an instant REST API for your SQL queries. Anything ... Read more

(English) Airtable – A true spreadsheet / database hybrid?

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Lots of the software of the world is written in Microsoft's Excel. A spreadsheet environment lends itself particularly well to addressing everyday computing problems. Compiling tabular data, creating connections between particular pieces of that data, condensing and aggregating over a dataset's values. These are common tasks a spreadsheet solves very well with no need for complex database or application server software. A spreadsheet is a flexible tool that provides simple, responsive and instant feedback ... Read more
Nächste Seite »