Viewing 15 posts - 31 through 45 (of 108 total)
Jim5130 (5/28/2015)
Thanks but still the same. Attached is some dummy file.
It is not the same, Merge is working fine now.
You are using varchar columns as join keys. Add a derived...
____________________________________________________________
APMay 29, 2015 at 1:14 am
Jim5130 (5/28/2015)
Hi Anshul,Attached. Please rename it to DTSX
It seems some issue with the sorting part. Try executing the attached package.
Also, is it possible to share some sample data as well?...
____________________________________________________________
APMay 28, 2015 at 9:42 pm
Can you share your sample package?
____________________________________________________________
APMay 28, 2015 at 3:36 am
Jim5130 (5/28/2015)
Hi Anshul,Yes, the conditional split is updated..please see the output on my attachment
NewRow ISNULL(DB_HSBC_TRADE_REF)
ExisitngRow !ISNULL(DB_HSBC_TRADE_REF)
Now, the mappings are right.
But I can see your merge...
____________________________________________________________
APMay 28, 2015 at 3:17 am
So, what is the error you are getting now?
____________________________________________________________
APMay 28, 2015 at 2:29 am
It should work. Did you update the Conditional Split as well?
In Conditional Split, you have to use Key column coming from Database, not the one from flat file.
____________________________________________________________
APMay 28, 2015 at 12:14 am
Thanks a lot for your help Ed and Chris. It works.
Cheers!..
____________________________________________________________
APMay 27, 2015 at 6:44 am
In your Merge transformation, you're only selecting HSBC_TRADE_REF column from Sort Db.
1. You need to select HSBC_TRADE_REF column from Flat File as well.
2. Map the HSBC_TRADE_REF column coming from...
____________________________________________________________
APMay 27, 2015 at 6:05 am
Can you give screenshot of the conditional split as well?
and the screenshot of the destination.
It seems you are refering wrong columns in your destination.
____________________________________________________________
APMay 27, 2015 at 4:07 am
Jim5130 (5/27/2015)
"The value violated the...
____________________________________________________________
APMay 27, 2015 at 2:41 am
Yes, there will always be a special character in the end.
I've tried something as below, it works, but with certain values.
DECLARE @txtMessageText varchar(max)
set @txtMessageText = 'QU - ...
____________________________________________________________
APMay 27, 2015 at 2:31 am
You can use below query -
create table #tmp1
(col1 varchar(1)
,col2 varchar(1)
)
insert into #tmp1
select 'a','l' UNION ALL
select 'b','p' UNION ALL
select 'a','m' UNION ALL
select 'a','n' UNION ALL
select 'b','q' UNION ALL
select 'x','y'
SELECT ...
____________________________________________________________
APMay 27, 2015 at 1:16 am
Here is one more option which you can use.
Using Merge in SSIS -
https://itssmee.wordpress.com/2010/10/03/ssis-insert-and-update-rows-in-a-table-based-on-the-contents-of-a-excel-file/%5B/url%5D
____________________________________________________________
APMay 26, 2015 at 12:54 am
Yes, we can achieve this using SSIS.
You need to create a data driven subscription in your SSRS report which will extract the excel sheet and send it via Email.
In SSIS,...
____________________________________________________________
APMay 25, 2015 at 11:01 pm
I would suggest, load your flat file into a staging table first, then use Merge to insert/update records in your destination table.
Otherwise, you can use SCD transformation, but performance wise...
____________________________________________________________
APMay 25, 2015 at 9:57 pm
Viewing 15 posts - 31 through 45 (of 108 total)