I am trying to run the following simple script in Oracle 8i:
set tipo_situa_solic = 'E', desc_obs_atendente = 'ACERTO DE BASE -
where cod_solicitacao = 7
and tipo_situa_solic in ('N', 'P')
and cod_contrato_Inter not in ( 2247,2295,2296,2297,2278,2269,2168)
and dthora_geracao < '07/10/2004'
order by cod_contrato_inter;
And it is returning the following message error:
ERRO na linha 8:
ORA-00933: SQL command not properly ended
Well this script was made by a developer and now I have to run it in production environment...
Does someone know why it is failing?