![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a flat file that I'm sending through a derived column transform, and into sql server. There is a column in my flat file that returns null values. In this case, I'd like to send a NULL value to SQL server instead. I started making a derived column as follows: UnitNumber == "" ? NULL(DT_STR,5) : UnitNumber But it bombs out. Basically, if UnitNumber = "" I want to return NULL instead of "", and if it has a value, I want to return that value. Can someone please help me out with this? Thanks Jeff |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi Allan, Yes, yes it does. Thanks a lot. My first few days moving from DTS, so the learning curve's certainly still there. Just for my own prosperity, is it possible to do something like I described above? Jeff |
![]() |
| Thread Tools | |
| Display Modes | |
| |