Custom SQL node for inserts/updates

Hi I wonder if there is a possibility of looping over each row from a file read and contructing insert/update statements.  I think this would be very useful and surprised I have not come across it yet.  The best case would be to have row loop module which enables you to edit the sql for the insert or this vailable some where or is this work in progress?

See this thread.