You can, but after updating the data in the database, you will need to purge caches to make the changes show up.
General developer forum
Can I Set Open and Close Date/Time of a Quiz using SQL
This discussion has been locked so you can no longer reply to it.