var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: db2 sql stored procedure
Is there a way to add conditional logic in sql stored procedures
I want to say
if(my query return no rows) then
Thanks for any info
I think one of the ways to accomplish this would be
IF EXISTS (SELECT ... FROM ... WHERE ...) THEN...
get diagnostic cnt = row_count;
if cnt = 0 then
This may not be the best way to do existence checking ...
Originally Posted by vidyaraok
Visit the new-look IDUG Website
, register to gain access to the excellent content.