I created a procedure that into it, the procedure, connect to a database. but when I run it, I gave an error:
ora-00900: invalid SQL statement
my procedure is below:
create or replace procedure check_p
as
st:='connect xx/xxx@databasename';
execute immediate st;
end;
/
please help me