Creating a CSV export from SQL Server 2012 (maybe with report builder) but none standard format -



Creating a CSV export from SQL Server 2012 (maybe with report builder) but none standard format -

using illustration query need csv file has header info in line 1, body info in line(2) 2 onwards.

salesid,custaccount,customerref,deliveryname,email linenum,itemid,name,salesqty,salesprice,createddatetime

select st.salesid, st.custaccount, st.customerref, st.deliveryname, st.email, sl.linenum,sl.itemid,sl.name, sl.salesqty, sl.salesprice, sl.createddatetime salestable st inner bring together salesline sl on st.salesid = sl.salesid st.dataareaid 'fr' , st.salesid '%' , st.custaccount '%' , sl.itemid '%'

sql csv reportbuilder

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 -