Y a-t-il un moyen de faire une déclaration CASE WHEN INTO?CASE WHEN ... INTO - Procédure stockée
Create or replace procedure example
AS
Variable1 varchar;
Variable2 varchar;
BEGIN
Select (CASE WHEN number = 1 THEN
This_thing INTO Variable1
ELSE
That_thing INTO Variable2) The_Other
FROM table;
END;
(cas quand tout! = 1 alors null autre that_thing fin) –
cette whould remplacer à tout = 1 –