I am trying to create a SSIS package which will export data in UTF-8 format to a text file with no headers, but in vertical format rather than the normal horizontal format with data across columns.
The package would use a query such as follows
Selectnullwhere 1<>1
Unionall
select [question type]+char(13)+char(10)+[question category]+char(13)+char(10)+[grade style]+char(13)+char(10)+[random answers]+char(13)+char(10)+[question text]+char(13)+char(10)+[answer a text]+char(13)+char(10)+[answer b text]+char(13)+char(10)+[answer c text]+char(13)+char(10)+[answer d text]+char(13)+char(10)+[answer e text]+char(13)+char(10)+[answer f text]+char(13)+char(10)+[answer g text]+char(13)+char(10)+[correct answers]+char(13)+char(10)+points+char(13)+char(10)+[cf field]+char(13)+char(10)+[test field]+char(13)+char(10)+[null separator] from table1
However when I try to place this query into the data flow (using SQL command), I get the following error
“Error at data flow task….there is a data source column with no name. Each data source column must have a name”
Any ideas on how to solve would be greatly appreciated.
Thanks
Scott