Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/07/2013, 10:53
hicolu
 
Fecha de Ingreso: agosto-2009
Ubicación: Lima
Mensajes: 226
Antigüedad: 14 años, 8 meses
Puntos: 3
hacer insert de dos tablas

hola amios porque no puedo hacer esto:
Código MySQL:
Ver original
  1. insert into certif0 values(id_cer0, ano, ue, idDocu, numero, idOfi, idRes, fecha, justificacion,
  2. total, estado, estResp, estLogi, estUpp, estFin, user, fecha2, justificacion2)
  3. select * from certmp0  LIMIT 1

me sale este error

[Error] Líneas de script: 4-6 ----------------------
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from certmp0' at line 2

Advertencias: --->
W (1): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from certmp0' at line 2
<---
[Ejecutado: 06/07/13 11:55:52 AM COT] [Ejecución: 0ms]


ALGUNA Otra forma de hacerlo, pero sin mencionar columnas x columnas????

GRACIAS!!!!!

Última edición por gnzsoloyo; 06/07/2013 a las 11:18