How can I execute the below Stored Procedure?
create or replace procedure squareOf(x IN OUT NUMBER) is
begin
x:= x*x;
end;
Since you're asking about 'in SQL Developer' - here's the answer from the IDE perspective.
DECLARE
x NUMBER := 6;
BEGIN
squareOf(x => x );
dbms_output.put_line( 'X: '|| x );
END;
returns 36