Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

how to print the temp variable in informix sql

$
0
0
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

Viewing all articles
Browse latest Browse all 13329

Latest Images

Trending Articles



Latest Images