SQL Engines Excel at the Execution of Imperative Programs
Summary: Compiles arbitrarily branching and looping imperative programs into plain (possibly recursive) SQL:1999 CTEs, including hundreds-line programs. Batch execution over tabular inputs enables query-engine parallelism and can outperform or add UDF support without a dedicated interpreter. (summarized by gpt-5.6-luna on Jul 24 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Tim Fischer (University of Tübingen)
- 2. Denis Hirn (University of Tübingen)
- 3. Torsten Grust (University of Tübingen)
BibTeX Citation
@article{fischer_vldb24,
title = {{SQL Engines Excel at the Execution of Imperative Programs}},
author = {Fischer, Tim and Hirn, Denis and Grust, Torsten},
journal = {PVLDB},
series = {{VLDB} '24},
volume = {17},
number = {13},
pages = {4696--4708},
doi = {10.14778/3704965.3704976},
url = {https://doi.org/10.14778/3704965.3704976},
year = {2024}
}
Incoming Citations (Sorted by Pagerank)
Showing 1 of 1 citing papers.
| Rank | Citing Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 9,917 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB | 5.1955087e-05 |
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 22 of 22 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
Previous
Page 1 / 1
Next
Semantically Similar Papers
| # | Overall Rank | Paper | Year | Venue |
|---|---|---|---|---|
| 1 | 3,257 | One WITH RECURSIVE is Worth Many GOTOs | 2021 | SIGMOD |
| 2 | 9,917 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB |
| 3 | 10,740 | UDFBench: A Tool for Benchmarking UDF Queries on SQL Engines | 2025 | SIGMOD |
| 4 | 5,791 | Accelerating Python UDFs in Vectorized Query Execution | 2022 | CIDR |
| 5 | 4,645 | User-Defined Table Operators: Enhancing Extensibility for ORDBMS | 1999 | VLDB |
| 6 | 894 | Froid: Optimization of Imperative Programs in a Relational Database | 2018 | VLDB |
| 7 | 6,328 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD |
| 8 | 4,452 | Just-in-time compilation for SQL query processing | 2013 | VLDB |
| 9 | 8,096 | Efficient Execution of User-Defined Functions in SQL Queries | 2023 | VLDB |
| 10 | 2,939 | Extracting Equivalent SQL from Imperative Code in Database Applications | 2016 | SIGMOD |