1. 程式人生 > >Oracle通過Select語句來插入資料

Oracle通過Select語句來插入資料

INSERT INTO t_admin_rms_yhygwgxb  
select sys_guid() AS XH,ID,'201202160931191071ae0a5d79421999c8009e731641e6' GWXH,
'SYSTEM' CJR,SYSDATE CJSJ,'','' from V_ADMIN_USER_HBJ_TREE 
WHERE TARGET IS NOT NULL;