Utilities for relational databases