此代码应该删除一个相册,但我不知道为什么它仍然不起作用
declare variable al_eliminare integer;
begin
select count(album.id) from album where id = :id_album
into :al_eliminare;
if(al_eliminare = 0)
then delete from album where album.id = id_album;
suspend;
end