ALTER TABLE Question ALTER COLUMN title varchar(3072); ALTER TABLE Question ALTER COLUMN answer text; ALTER TABLE ExamQuestion ALTER COLUMN answerChoosen text; UPDATE AnswerSheet SET examPaperStatus = '已评分' WHERE endTime is not null and examPaperStatus is null; UPDATE AnswerSheet SET examPaperStatus = '未交卷' WHERE endTime is null and examPaperStatus is null;