There is an error in the sql where a semi-colan has been accidently placed into the questiontype.php file on like 919. I have removed this error and uploaded a patch for the fix
Reproduce :
Go into a quiz and try to create a new question eg http://moodle-techdev.cqu.edu.au/question/question.php is the page that will cause the error.
Thu Apr 29 11:54:19 2010] [error] [client 138.77.10.72] SQL ORA-00911: invalid character in /usr/local/moodle-core/releases/rel-20100113-8/lib/dmllib.php on line 966. STATEMENT: SELECT i.,d. FROM m_question_datasets d, m_question_dataset_definitions i WHERE i.id = d.datasetdefinition AND i.category = 8349; with limits (, ), referer: http://moodle.cqu.edu.au/question/question.php?returnurl=http%3A%2F%2Fmoodle.cqu.edu.au%2Fmod%2Fquiz%2Fedit.php%3Fqpage%3D0%26amp%3Bcat%3D8349%252C17241%26amp%3Bcmid%3D58047&cmid=58047&id=54247