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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL numeric data field error

Status
Not open for further replies.

BorgMan

Programmer
Aug 8, 2003
8
0
0
US
I have a simple question. I have installed MYSQL version 4.0.12 on my PC running Windows 2000. I am trying to create a table with numeric elements with the following code:

create table checks (check numeric(6) not null);

I get the following error:

Error 1064: You have an error in your SQL syntax.

Can someone direct me as to what I am doing wrong?
 
Thank you. I took that field name straight out of the example in the book I was reading, and it never occured to me that it might be a reserved word.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top