|
|
Question : Creating tablespaces using ASM
|
|
Dear Experts, I want to create a script which creates tables spaces for ASM, what i need is when a user runs this script i want it to display/prompt the tablespace file creation destination i.e the value from init.ora parameter, db_create_file_dest='+xxx01'.
Please provide the syntax/select statment for this. regards...
|
Answer : Creating tablespaces using ASM
|
|
I just created my script based on the info you gave initially... you could certainly edit it to do what you want to accomplish...
Change it:
set termout off column v_dest new_value _v_dest noprint; SELECT value v_dest FROM v$parameter WHERE name ='db_create_file'; set termout on
set pages 0 echo off verify off accept ok_continue prompt 'Create tablespaces in &_v_dest (Y/N)'
Then do whatever else you are looking for...
|
|
|
|