Example 1
Return three values used to form a retained record key
The example uses three plain words as a compact reminder: a statement may be temporary, but the structure it relies on often remains in production long after the query text changes. In this note format, the row values are the key parts, so the retained record key is built by joining them in column order.
SELECT
'structure' AS principle,
'outlives' AS lifecycle,
'query' AS artifact;| principle | lifecycle | artifact |
|---|---|---|
| structure | outlives | query |
This page is a lightweight note page. The example is intentionally simple and not treated as a full per-engine syntax comparison. Read the returned values left to right to form the retained record key.