SQL preamble

Steven Talbot · Friday Demos · October 3, 2025 · 1:14

You can now run arbitrary command in the database prior to queries. This opens up all sorts of custom workflows including UDFs or custom user variables.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Uh okay that was our first one's very practical um we haven't shipped this yet but just also confirming with everyone that this is in fact what they were asking for the people who are asking for it uh make a model level parameter this is the SQL preamble thing that renders with user attributes so you can just do this this is don't do this with it We already have our own time zone, but it's hard to find something that demos on Postgress and all.

  2. So, this is just showing that it works. I've got this preamble in my workbook model. I go over here or I've got this set to New York. I run see that it's New York. Come back, change it to Congo. Probably doesn't even need to be a valid time zone. Whatever. Um, back computer is struggling with Rome. There we go.

  3. Uh, Chicago. So, just, you know, it works. People want that to do fancier things in setting time. All right. Uh, that