Saturday, April 27, 2019

c# - MySQL Unknown column 'Price' in 'field list'

I'm getting an error when inserting data into a MySql database. I get this error




Error Code: 1054. Unknown column 'Price' in 'field list'




When using this command:



INSERT INTO CubePrice(Price, DateTime, ShopID, CubeID) VALUES ("99.99", "23.41.53 43:12:32", "1", "1")



I have a column named Price in the table CubePrice.
What am I doing wrong? Why do I get this error? I get the same error when trying to use the same query in C#. How can I fix this?



Thanks!

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...