Can I Set Open and Close Date/Time of a Quiz using SQL

Can I Set Open and Close Date/Time of a Quiz using SQL

par Juan F,
Nombre de réponses : 1

Hey all! Just as the question asks, is it possible to set Open and Close Dates/Times for a specific quiz in all of our courses each semester using SQL? If so, can you share the SQL code? I'm struggling to come up with anything even close to this in SQL. Thanks!

Moyenne des évaluations  -
En réponse à Juan F

Re: Can I Set Open and Close Date/Time of a Quiz using SQL

par Tim Hunt,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar Plugin developers
You can, but after updating the data in the database, you will need to purge caches to make the changes show up.