MySQL Forums
Forum List  »  MySQL Workbench

Exporting resultset to EXCEL with carriage returns
Posted by: Marco Rios
Date: October 04, 2016 03:52PM

Hello,
I need to export a retultset that contains carriage return characters in one of the colums to an EXCEL file.
I have tried some options, but when I open the file with excel, but carriag returns are ignored

SELECT reserva, GROUP_CONCAT(CONCAT_WS('|',a,b,c,CHAR(10))) AS servicios
FROM table
GROUP BY reserva

NOTE::
I am using Workbench in Windows XP

Thanks in advance for your valuable help.

Acer LENOVO G450
CPU: Pentium(R) Dual-Core CPU T4400 @ 2.20GHz × 2
RAM: 4GB
Graphics: Intel GM45
OS: UBUNTU 18.04.4 LTS 64bits
GNOME 3.28.2
--
Best regards
Marco
Mexico City, Mexico

Options: ReplyQuote


Subject
Views
Written By
Posted
Exporting resultset to EXCEL with carriage returns
1463
October 04, 2016 03:52PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.