![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have bunch of data from an excel spreadsheet that needs transforming from a row into the column names for a db, can I do this with DTS. Also, how can I tell DTS not to import row data with null values? |
#3
| |||
| |||
|
|
Can you show us a sample of the data you have and what you exapect it to look like along with the CREATE TABLE statements. Skipping rows based on values of you data could be done as simply as SELECT.......... FROM Table WHERE col IS NOT NULL if all the column values are NULL then you could do SELECT.......... FROM Table WHERE COALESCE(col list) IS NOT NULL col list> are the columns you do not want to be null. Short of that you can use an Active Script transform and the return value (DTSTransformStatus) mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%2 0Server\80\Tools\Books\dts prog.chm::/dtspconst_3h6b.htm |
![]() |
| Thread Tools | |
| Display Modes | |
| |