sql server - Export using Bcp -


I am using data using BCP to combine column data with column headers and the use of the union I am using the variable and the set, it is for 0 for the title and then for the column data to hold the header at the top for 1, but it seems that on some occasions the data When the middle header does not have a number. Use the following format for your query:

    

select ( Choose 0 from [type], 'Header 1' as '1', 'Header 2' as the call 2, ... select Union 1 as the [type], Col1, Col2, ..., YourTable ) Z by order Z [Type]

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -