4 ms·
It's so much better to use a database that only allows one autoincrementing value per record, or one TIMESTAMP and then only allows you to have either a create
by tmzt 13y ago
It's so much better to use a database that only allows one autoincrementing value per record, or one TIMESTAMP and then only allows you to have either a create timestamp or an update timestamp without writing a trigger.
I prefer the way Oracle does it, you may have to do more work but it's more explicit and flexible that way.
- jacques_chester 13y agoI don't. I prefer for the common case to be correctly and automatically handled for me.