simple SQL help...please

Associate
Joined
6 Oct 2007
Posts
1,014
Location
Liverpool
Doing coursework and on creating a table am stuck for what data type Hieght would be....


simply 'integer' or 'decimal[((precision[,scale]))]' or 'float'


any ideas?
 
Ok seem to be ok with that...thanks

I have had a good route around but cant seem to find a solution for

Error Code : 1062
Duplicate entry 'P111' for key 1
(0 ms taken)

apparently it means i ave 2 entries under 1 primary key... but i dont?!
I have 'P111' (the data) as a primary for table X
and P111 is also data entered in another table (table y) but not under a primary key.

would this be the problem though... I am sorry if this is hard to understand bit of a beginner.

thanks
 
Back
Top Bottom