Oracle table(s) data to INSERT statements with JAVA -


How can I get SQL inserts from Java from an oracle table? Is there an Oracle API for this?

I need to store it in a file, as a result the file should have these lines of lines:

  - Insert "test" ("code" "," Family "," SUB_FAMILY "," SEVERITY "," STATUS "," ANOMALY_DATE "," DESCRIPTION "," COMMENTS "," VALUE0 "," VALUE1 "," VALUE2 "," VALUE3 "," VALUE4 " "VALUE5", "VALUE6", "VALUE7", "VALUE8", "VALUE9") value (1, 'family1', 'subfamily11', 'bad', 'initial', 'to_date' ('0005 -11 -21 ',' DD / MM / RR '),' some description ',' some comment ',' some value ',' some value ',' some value ',' Useless value ',' useless value ', empty, empty, weak, zero, zero);  

The example line was created with Oracle SQL Developer with export tool

thks.

Use whatever query you include about a statement, spreadsheet, CSV ... Can think, save it.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -