count of number of records
Moderators: chulett, rschirm, roy
count of number of records
Hi All,
Ihave ajob which does the update insert logic
My job has a source file and the target is oci
I have selected the update existing and insert new rows from the update action
Now how can i get the count of number of records updated and number of records inserted
Note: Here I am using only one link not two links
Thanks in advance
Saik
Ihave ajob which does the update insert logic
My job has a source file and the target is oci
I have selected the update existing and insert new rows from the update action
Now how can i get the count of number of records updated and number of records inserted
Note: Here I am using only one link not two links
Thanks in advance
Saik
I dont think you can get Updates and Insert specific numbers in you have an update/insert option in your target OCI. I believe for that you need to split your inserts or updates. Or predetermine the inserts by doing a simple lookup on the target table.
If someone has knowledge of determining inserts and updates on insert/update option i would be really keen to learn that.
Regards,
If someone has knowledge of determining inserts and updates on insert/update option i would be really keen to learn that.
Regards,
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Re: count of number of records
Can't be done.rafidwh wrote:Now how can i get the count of number of records updated and number of records inserted? Note: Here I am using only one link not two links.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Re: count of number of records
Yet another reason why I would do the inserts and updates separately.
gateleys
gateleys
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Just a thought ,if you can access the director log ,using dsjob -logdetail command from command line and by using unix commands such as awk, grep get the no of records inserted and updated.DSguru2B wrote:If you really want the insert/update logic to be handled by the database, all you need to do is do a lookup on the target, that will give you the inserts,
subtract that from the total, that will give you updates.
Thanks
Arif
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm