I am trying to pass mount_point details in my oracle script.
I am able to pass integer variable using below code but not able to send mount point details in oracle script:
sed "s/@@pqr@@/$space/g" tablespace_extend.sql |
sqlplus -s "/ as sysdba"
BEGIN
space:="@@pqr@@";
dbms_output.put_line(space);
END;
/
When I am using same code to pass mount point details, it is not working. it returns this error message:
sed: -e expression #1, char 13: unknown option to `s', mount_point = /u08/dbname/
$space
variable to your question? Is itmount_point = /u08/dbname/
? – fra-san Oct 28 '20 at 08:36