All Oracle Error CodesOracle DBA Forum

ORA-09340:

Specified ORACLE_SID is either invalid or too long
Cause: ORACLE_SID must be at the most 4 alphanumeric characters.
Action: none