Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
albertkohl
Aged Yak Warrior
740 Posts |
Posted - 2009-12-03 : 16:12:07
|
| okay, so here's the stroy, i have a data set, it's all in a fixed-width format, and lets say there are only 3 columnsfield widthfname 30mi 1lname 30data looks like:albertwkohl(but there are leading spaces)when i import the data into sql, (say columns are all varchar)it comes out like:|albert________________________|is there a setting i can adjust so that when SSIS imports the data, it doesnt import the leading spaces? on a table 200 Million rows plus, all these blank values will total up to be a HUGE waste of disk space. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
albertkohl
Aged Yak Warrior
740 Posts |
Posted - 2009-12-03 : 17:54:44
|
| trailing, sorry...so i'd have to have an SSIS package w/ a tranformation then hu? |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
albertkohl
Aged Yak Warrior
740 Posts |
Posted - 2009-12-03 : 23:25:27
|
| any way to do that using the BCP import tool w/ a format file? |
 |
|
|
|
|
|