I frequently run queries and save the results as a SQL file. I wish there was another option in addition to "Export Results -> SQL File" to either export the SQL (as inserts) to either the clipboard or to another SQL Window.
Currently, if I choose the export to SQL option, I get an insert like this:
Code:
INSERT INTO TBL_EXAMPLE (COL_A, COL_B, COL_C) VALUES ('BetaA', NULL, 'BetaC');
What I am proposing would suppress the nulls so the insert would look like this:
Code:
INSERT INTO TBL_EXAMPLE(COL_A, COL_C) VALUES ('BetaA', 'BetaC');
I am requesting this because on wide tables, having all the unnecessary nulls really wastes a lot of space. I am fairly new to the PLSQL Developer world as my previous company used TOAD and this was something TOAD did that PLSQL Developer does not.
Please note, though, that these commands will not behave the same way if your null columns have default values. I think this is a problem in TOAD and that null columns should NOT be suppressed.