sql server - Import from MSSQL to Excel when the data contains embedded line breaks -



sql server - Import from MSSQL to Excel when the data contains embedded line breaks -

i trying export sql query (ms sql 2014) excel 2010. problem column values contain line breaks, remaining info gets copied next line in excel. there way rid of this? keeping column is? or maybe encapsulating column sql considers 1 column , ignores line breaks?

here sql query:

select * tbl_case (casenature not '%<strong>%' , casenature not '%<br />%' , casenature '%from:%') , userid in (select employeelogin tbl_employees riding='15010')

works fine if utilize normal way import info mssql excel is: in excel, data->from other sources->sql server.

to import info resulting arbitrary sql query:

at lastly step of wizard (where select range), press properties... in resulting connection properties window: definition->command type - sql in command text field, write query

sql-server excel

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -