FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Error en sentencia delete
estoy trabajnado con oracle 9i
la siguiente sentencia delete al ejecutrala devuelve 'comando sql no terminado correctamente' DELETE TableOwner.ATRI FROM TableOwner.ATRI A, TableOwner.GRUPO G, TableOwner.DE_GRU DG, TableOwner.LISTA_GRU_MUE LGM WHERE A.IDGRU=G.IDGRU AND G.IDGRU=LGM.IDGRU AND LGM.IDMUE= :IDMUE AND DG.IDDEGRU=G.IDDEGRU AND DG.GLOBAL='N' que error de sintaxis estoy cometiendo. Gracias |
#2
|
||||
|
||||
Sencillamente esta mal escrita. Las tres funciones DDL básicas (INSERT, DELETE y UPDATE), pueden apuntar solo a una tabla por vez. Si puedes en el where hacer referencia a otras tablas
Saludos!
__________________
delphi.com.ar Dedique el tiempo suficiente para formular su pregunta si pretende que alguien dedique su tiempo en contestarla. |
#3
|
|||
|
|||
Funciono bien, Muchas gracias
|
|
|
|