Violates
(1)
Simila
(1)
Bombs
(1)
Writing to a text file with different row formats
Asked By Steve
19-Nov-09 04:49 PM
I want to create a file from data within SQL that looks similar to this.
a,b,c
d,e,f,g,h,i
j,k,l,m,n,o
p,q,r
s,t,u,v,w,x
.....
Basically there would be a "header" row (3 fields in this instance) with a
number of detail lines below it (each with 6 fields in this instance). The
Is there anyway to do this in SSIS? or just within SQL, in general?
Thanks
Steve:With a different number of header columns than you have columns in
Todd C replied to Steve
20-Nov-09 08:38 AM
Steve:
With a different number of header columns than you have columns in the
detail kind of violates the basic rules of databases. I have tried importing
data simila to this in layout, that some other organization has labeled "CSV"
and SSIS just does NOT like it. It bombs out every time. It is not a true CSV
data file.
To get it to work you would need to write your own customized Script Task as
a Destination adapter in the data flow.
Good Luck.
=====
Todd C
columns than you have columns in the detail kind of violates the basic rules of databases. I have tried importing data simila to this in layout, that some other organization has labeled CSV" and SSIS just does NOT like it. It bombs out every time. It is not a true CSV data
SQL Server Constraint using UDF always violates I'm trying to write a check constraint that uses performance reasons. Thanks again! Carl. keywords: Constraint, using, UDF, always, violates description: I'm trying to write a check constraint that
Fatal error with select stmt Our Windows Mobile 5 application bombs when SQL Server Mobile Edition 3.00.5206.00 throws error, with, select, stmt description: Our Windows Mobile 5 application bombs when SQL Server Mobile Edition 3.00.5206.00 throws
a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you know who a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you know who a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you know who a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you know who a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you know who a previous query, but I am not sure if that violates some kind of etiquette, Anyway, I Hope you k
available - at present the system just gives a message then bombs out - I want to be able to redirect to another available - at present the system just gives a message then bombs out - I want to be able to redirect to another
trying to finish off a dpm 2007 setup. . dpm setup bombs at the end, complaining about a problem with reporting services trying to finish off a dpm 2007 setup. . dpm setup bombs at the end, complaining about a problem with reporting services
stored procedure 2: exec getcolors @colors in('red', 'white', 'blue'). . . . . . . . .bombs code is create procedure getcolors @colors nvarchar (50) as (select stored procedure 2: exec getcolors @colors in('red', 'white', 'blue'). . . . . . . . .bombs
not valid !!! Thanks It looks like your current content model violates the Unique Particle Attribution rule. I think something like this