Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to escape a statement

Status
Not open for further replies.

gschrade

Programmer
Dec 29, 2003
8
US
I am new to mysql. I am trying to escape out of an interactive statement. I started a statement like so: CREATE TABLE sometable (
> firstcolumn char(30) not null,
> secondcolumn char(20) not null'
'>

As you can see after the second column I entered a ' instead of a , so I want to escape or abort the statement. No matter what I enter I get another '> prompt. How do I get out???

Thanks in advance
 
That was the first thing I tried. That did not work. Then I tried a closeing ); and that did not work...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top