Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Feb 10, 2012 5:59 AM by
Feb 9, 2012 9:07 AM
I am able to connect to oracle db in command prompt but unable to create a table in sql command line & the error is sp2-0640
This content has been marked as final.
Show 1 reply
Feb 10, 2012 5:59 AM
in response to
Welcome to the forum!
Are you sure you've already connected, and that you haven't somehow disconnected? Show exactly what you did, and what response you got, before issuing the CREATE TABLE statement.
SP2-0640 means your not connected to a database. There's not much you can do in SQL*Plus without connecting to some database.
Log in with your username and password.
Depending on your SQL*Plus version, you might do this:
SQL> CONN username/password