Oracle SP2-0640 failed to connect
After installing Oracle Database 11g Express Edition, execute using your own SQL command line
select 1 from dual;
Error reported:
SP2-0640 unconnected
Solution: Use
conn/as sysdba.
Execute the above SELECT statement again.