Hallo everybody,
i am about to manage small DB, i want to make procedure that count the number of rows in a table , then i would like to print this value immediately .. the procedure is like :
create procedure testing()
define cnt integer;
select count(*) into cnt from temp_tbl;
end procedure;
execute procedure testing();
## the question is how to print cnt value? is there a way to see this value ,, like print cnt;
drop procedure testing();
it would be realy kind if some one give notice about the best solution
Cheers
i am about to manage small DB, i want to make procedure that count the number of rows in a table , then i would like to print this value immediately .. the procedure is like :
create procedure testing()
define cnt integer;
select count(*) into cnt from temp_tbl;
end procedure;
execute procedure testing();
## the question is how to print cnt value? is there a way to see this value ,, like print cnt;
drop procedure testing();
it would be realy kind if some one give notice about the best solution
Cheers