[gnome-db] Optimal way to copy registers



Hi list.
I came here today for consulting :)

Im working on a program wich under certain conditions has to copy n
registers from one table to another (two different databases, providers,
servers).
First i didt simple, but im wondering if there is a better way to do it.
What i did now is SELECT all the needed registers from source and
iterate into the recordset with INSERT. Im using g_strdup_printf for
making the insert sentence, so im having a value stringify for each
field.
What i think it could be done better is the insert part.

Thanks.

Saludos, Juan Pablo.
-- 
Juan Pablo Daniel Borgna <jpdborgna shellcode com ar>
Development Manager
SHELLCODE, IT Solutions & Security Research.
Paraná 264, Piso 4to, Of.46 - C1017AAF
Ciudad Autónoma de Buenos Aires - Argentina
Phone: +54 (011) 57.11.52.63


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]