Olá pessoal.
Após executar um select numa stored procedure é possível saber se retornou
vazia.
Tentei usar row_count, mas quando a tabela esta vazia não passa pelo
begin/end
for
Select id
>From Cliente
Where nome =”XYZ”
Into :v_id
Do
Begin
If (row_count) = 0 then
O_resposta = “tabela vazia”
End
Willson