Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> generate insert statement ???
Hi all,
I need to generate insert statements for a given table. For example ACCOUNTING_TRANSACTION_TYPE table has 300 rows, and I need to generate a sql like the following:
INSERT INTO ACCOUNTING_TRANSACTION_TYPE
(ACCT_TRAN_TYP_CD, ACCT_TRAN_TYP_NM, GL_ACCT_TYP_CD, ACCT_TRAN_TYP_GL_IND, ACCT_TRAN_TYP_VOID_IND) VALUES ('wrtn_prem',
'Written Premium',
'109200_401600',
'y',
'n');
.... insert blocks for the rest rows
Are there any easy way to handle this? Thank you in advance!
Janet
![]() |
![]() |