----创建存储过程 create or replace procedure inserttest as cursor cs is select id, name, cla, addr, phone, tel, x, y, shape, objectid from hotel_bak t2; begin for c in cs loop BEGIN insert into hotel (id, name, cla, addr, phone, tel, x, y, shape, objectid)