Comments - Generated (Virtual and Persistent/Stored) Columns
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Too bad that an important limitation isn't mentioned: the expression is limited to 252 characters.
I would have hoped to be able to use virtual columns for reducing complexity in multiple applications by containing the logic in the database. Unfortunately, even a simple CASE statement with a few options will quickly exceed the 252 character limit.