SQL如下
INSERT INTO 表名(ID,列名列表)
(SELECT
序列名.NEXTVAL,
'更改后的值' AS 列名,
SYSDATE AS CREATED_DATE,
UPDATE_BY,
SYSDATE AS UPDATE_DATE
FROM
表名
WHERE
条件)
SQL如下
INSERT INTO 表名(ID,列名列表)
(SELECT
序列名.NEXTVAL,
'更改后的值' AS 列名,
SYSDATE AS CREATED_DATE,
UPDATE_BY,
SYSDATE AS UPDATE_DATE
FROM
表名
WHERE
条件)