Generated columns are done at SELECT time not INSERT time, so there's not really a way aside from wh

Generated columns are done at SELECT time not INSERT time, so there's not really a way aside from what you've done, no.
Was this page helpful?