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 |
1sqlover
Yak Posting Veteran
56 Posts |
Posted - 2013-12-04 : 12:10:02
|
Scenario:
[Field1] determines if [Field2] is positive or negative.
If [Field1] has a value of 3 then [Amount] is positive, if [Field1] has a value of 4 then [Amount] is negative.
Currently I am importing a CSV and performing calculations within my reports as described above. I would like to change it that when I import the CSV I perform the calculations on the fields I import the new values.
Is this possible, or is doing this in the report the best method?
Thanks
epoh |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-12-05 : 02:22:23
|
you can do it during import itself. If in SSIS, you can use Derived column transformation task for this.
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs |
 |
|
|
|
|