![]() |
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 |
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! |
Funciono bien, Muchas gracias
|
La franja horaria es GMT +2. Ahora son las 13:14:03. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi