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

gan Juan F -
Number of replies: 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!

Cyfartaledd sgoriau: -
In reply to Juan F

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

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