When using the mysql client, I’m working on some tables that have like 10 columns plus 4 columns of meta information (created_at,created_at_utc, update_at, updated_at_utc – similar to rails). I’m trying to create a way to essentially do a select * minus these 4 sets of columns mostly to make it so that it fits in a single window without breaking the results. I’m leaning towards writing a stored procedure / program with the table name but wondering if there is a better way. something like:
>call t($table_name)
Might there be a better way to do this? thx
edit:
so I’m not concerned about performance, I would use this only to verify things are being updated / inserted correctly.
if it is select only, then you can make a view…