Automatische verticale uitbreiding van rijen in de output van het `excel` pakket

There is currently an option to automatically horizontally expand rows in the output of the excel PSQL package of Invantive.

However, sometimes the default vertical size also is wrong. For instance, when filling Excel cells with multi-line text like:

a
b
c

In that case only a is visible when opening the spreadsheet.

It would be handy to be able to automatically vertically expand the rows before export to Excel.

Workaround is to select all cells in Excel and then double click on the row separator to have Excel to expand them automatically, but that tends to be forgotten and requires each time a manual action.

Een tijdelijke oplossing is om de lange tekst handmatig in aparte rijen op te splitsen met een query met csvtable:

select line_with_text
from   csvtable
       ( passing 'line 1' || chr(13) || 'line 2' || chr(13) || 'line 3'
         row delimiter chr(13)
         column delimiter '###shouldneveroccur###'
         columns line_with_text varchar2 position next
       )

wat de volgende uitvoer genereert:

die zich eenvoudiger laat vertalen naar een bruikbaar Excel-blad. Voor meer informatie over csvtable, zie Invantive UniversalSQL - Invantive.