Está dando erro num cursor que estou tentando fazer, o forms não aceita subselect?
exemplo do cursor:
Cursor C is
select conta.cod_cliente,
( select nome_cliente
from cliente
where cod_cliente = conta.cod_cliente ) nome_cliente
from conta
where conta.emissao = to_date('22/09/2008','dd/mm/yyyy') ;
Encountered the symbol "SELECT" when expecting one of the following:
( - + mod not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
cas <a string literal with character set specification>
<a number> <a single-quoted SQL string>
Encountered the symbol "NOME_CLIENTE" when expecting one of the following:
) intersect minus union
Encontered the symbol "CURSOR"
Enfim, neste caso eu sei que daria pra fazer um join com a tabela conta, mas, esse é só um exemplo que também da o erro, porque o cursor original é bem extenso e ficaria mais complicado se eu fizesse o joins e outer joins de mais de 10 tabelas....
alguém saberia me dizer porque dá esse erro?
Valeu!!