create table FACTORYINFO
(
P_FACTORYID NUMBER(10) not null,
P_FACTORYNAME VARCHAr2(10) not null,
P_FACTORYADD VARCHAr2(50),
P_FACTORYPHONE VARCHAr2(20)
)
create table HONGDIANYI
(
P_HDYID INTEGER not null,
P_ZNYBH VARCHAr2(20) not null,
P_FACTORYNAME VARCHAr2(50),
P_PIPELINENO VARCHAr2(20)
)
create table PIPELINE
(
P_PIPELINEID INTEGER not null,
P_PIPELINENO VARCHAr2(20) not null,
P_FACTORYNAME VARCHAr2(50) not null
)
希望一条sql语句更新这三张表中的P_FACTORYNAME 字段,用的是oracle数据库。