一次插入多条就死机的问题
我用下列语句插入数据会出现死机现象(即总在执行,鼠标点击无反应,只能按crtl+ alt + del键结束任务才可结束执行)
insert into table_name(field1,field2,file3)
select col1,col2,col3 from table_other
where table_other.col1 > 1 and table_other.col1 < 22;
table_other按条件应只有22条记录插入到table_name表里,但就是插入出现死机;
我后来用
insert into table_name(field1,field2,file3)
select col1,col2,col3 from table_other
where table_other.col1 = 1 ;
insert into table_name(field1,field2,file3)
select col1,col2,col3 from table_other
where table_other.col1 = 2 ;
一直到第12条一句一句执行都可以,但在执行
insert into table_name(field1,field2,file3)
select col1,col2,col3 from table_other
where table_other.col1 = 13 ;时又死机
我怀疑是数据库的回滚段或临时表空间有问题,请问高手如何解决此问题