One way, but maybe not the best, is to make one query<br>from datasource A and loop the query and put the data <br>into datasource B.<br><br>Example:<br><br><CFQUERY NAME="q_a" DATASOURCE="a"><br>SELECT table_a.column_a1,table_a.column_a2 FROM table_a<br></CFQUERY><br><br><CFLOOP QUERY="q_a"><br> <CFQUERY NAME="q_b" DATASOURCE="b"><br> INSERT INTO table_b (column_b1,column_b2)<br> VALUES ('#column_a1#','#column_a2#')<br> </CFQUERY><br></CFLOOP><br>