Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Community (OTN)
This discussion is archived
on Feb 10, 2012 11:59 AM by Frank Kulash
Feb 9, 2012 3:07 PM
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
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Feb 10, 2012 11: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