Ver Mensaje Individual
  #12  
Antiguo 29-03-2007
[jesusomarsanche] jesusomarsanche is offline
Miembro Premium
 
Registrado: may 2006
Posts: 11
Reputación: 0
jesusomarsanche Va por buen camino
Talking tarde pero sin sueño

si los dos dataset tienen la misma estructura

Código Delphi [-]
 
insert into tabladestino select * from tabla origen [where ....][order by ...]

si no tienen la misma estructura


Código Delphi [-]
insert into tabladestino select campo1,campo2,... from tabla origen [where.... ][order by ...]
o


Código Delphi [-]
insert into tabladestino(campo1,campo2,..) select campo1,campo2,... from tabla origen [where.... ][order by....]


espero les sirva, logico a los que andemos buscasdo un caso similar, ya que la pregunta tiene bastante tiempo
Responder Con Cita