0

insert into Employee values(2,"Brown","Barry",2011-08-12,1,11,null); Query OK, 1 row affected, 1 warning (0.00 sec) Warning (Code 1264): Out of range value for column 'HireDate' at row 1 what does this mean in sql guys???

4
  • 1
    Possible duplicate of Warning#1264:out of range error in mysql Commented Jun 13, 2017 at 9:41
  • it means Your data is not valid for this column. Too long or different type. Commented Jun 13, 2017 at 9:41
  • Where is your query ? Commented Jun 13, 2017 at 9:41
  • sorry Emanuel i will edit Commented Jun 13, 2017 at 9:44

1 Answer 1

0

Quite simply, when entering a date into a query it must be wrapped in quotes as it is considered to be a text string.

insert into Employee values(2,"Brown","Barry",'2011-08-12',1,11,null); 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.