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

by 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!

Average of ratings: -
In reply to Juan F

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

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