Last answered:

25 Oct 2023

Posted on:

12 Oct 2023

0

Resolved: Cannot change column with default

3 answers ( 1 marked as helpful)
Posted on:

12 Oct 2023

0

The column has datatype of INT and hence default has to be of that datatype.


Your query is trying to add 'X' (which is a character) as default to the INT column

Posted on:

12 Oct 2023

0

thank you!

Instructor
Posted on:

25 Oct 2023

0

Hi Izzatilla!
Thanks for reaching out.


As Tanika explained the column has a datatype of INT and hence default has to be of that datatype.


Hope this helps.
Best,
Tsvetelin

Submit an answer