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), pressproperties...
in resulting connection properties
window: definition->command type
- sql
in command text
field, write query sql-server excel
Comments
Post a Comment