日期:2014-05-17 浏览次数:21622 次
create or replace function city2region(quxian_id number) return number as v_id number; begin select region_id into v_id from region where city_id = quxian_id; return v_id end