set oracle_sid=orcle is equivalent to setting a local environment variable, which is only valid in the current DOS window. To set the system environment variable, add oracle_sid to My Computer-Properties-Advanced-Environment Variables or add oracle_sid
in the registry
localmachine-software-oracle-oraclehome0( The name is not necessarily the same, usually the first item), add the oracle_sid item key value string type orcl
in the registry
localmachine-software-oracle-oraclehome0( The name is not necessarily the same, usually the first item), add the oracle_sid item key value string type orcl