Ivan Shomnikov
Дата: 04.08.2005 11:01:24
Есть процедура. В ней есть курсор. Процедура прекрасно работала и справлялась с возложенными мной на нее обязанностями, пока в один прекрасный момент не...
ERROR:
ORA-03114: not connected to ORACLE
BEGIN teacher_proc; END;
*
ERROR at line 1:
ORA-01114: IO error writing block to file %s (block # %s)
то же самое выводит SQL*Plus, когда я просто выполняю запрос на основе, которого в процедуре сделан курсор. В коде ничего не менял, все работало.
kapis
Дата: 04.08.2005 11:15:20
ORA-01114: IO error writing block to file string (block # string)
Cause: The device on which the file resides is probably offline. If the file is a temporary file, then it is also possible that the device has run out of space. This could happen because disk space of temporary files is not necessarily allocated at file creation time.
Action: Restore access to the device or remove unnecessary files to free up space.
Ivan Shomnikov
Дата: 04.08.2005 12:12:25
Все файлы в онлайне. С этим все ок. Но связь с Oracle обрывается во время выполнения запроса с приведенной выше ошибкой (пробовал из Toad и SQL*Plus). Все-таки приведу запрос (запрос как запрос, раньше работал)... :( :
SELECT t.lastname, t.name, t.patronymic,
t.birthdate, t.series, t.doc_number,
t.sex_id, t.education_id, t.type_doc,
s1.id sexid, s2.id eduid, s3.id docid,
s4.id postid, t.post, t2.id estabid, t.discipline,
t.type_category, t.type_razryad, t.type_stepen, t.type_rank, t.scient_speciality
FROM tb_temp_teacher t, sp_sex s1, sp_education s2,
sp_type_document s3, sp_post s4,
tb_establishment t2
WHERE (t.education_id = s2.federal_code)
AND (t.sex_id = s1.shortname)
AND (t.type_doc = s3.federal_code)
AND (t.post = s4.federal_code)
AND (t.ou = t2.external_code);