Hi, Ravindra!
If you or someone at the receiver side have developer access to target DB, the most preferable way, to my opinion, would be to transfer insertion logic to DB side and to wrap it to some kind of stored procedure because in most cases DB level programming language gives you much more flexibility in your task realization.
Regards, Evgeniy.