I use the Postgre database.
The user must select the date on the client and after that an file Excel has been exported for the selected date.
So how can I, on the server side, export data from a database to Excel.
I use the Postgre database.
The user must select the date on the client and after that an file Excel has been exported for the selected date.
So how can I, on the server side, export data from a database to Excel.
Maybe this could help. I've tried this in v10.6 and it is working fine
COPY "Table_Name" TO 'D:/sample.csv' (format csv);