Usually I will export the SID of the instance that I want to work on using this command:
export ORACLE_SID=<SID>
then I re-confirm that the instance is exported by:
echo $ORACLE_SID
you should now be able to access that instance thru SVRMGRL or SQLPLUS.
You have to specify the tablespace, this is where the index will be created and store in, and the size of the initial extent, this is to tell the database the initial size to allocate to the index.
Your query looks a bit different from what I normally used, maybe you can change your query to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.