Field character is tinyint but default value is string 1

hujianjian's profile image hujianjian posted 5 years ago in General Permalink

Field character is tinyint but default value is string 1

1 attachment(s):
  • ASD
ansgar's profile image ansgar posted 5 years ago Permalink

I see the single quotes around that default value '1', but your post is so short I wonder whether this is just cosmetic or rises a real issue?

hujianjian's profile image hujianjian posted 5 years ago Permalink

you can create a tinyint character column and then set a default value.

2 attachment(s):
  • A1
  • A2

Please login to leave a reply, or register at first.