Reputation: 13
Data type for the string - VARCHAR. data type for numbers - INT. What data type will be used for the string with numbers? E.g., "test123".
Upvotes: 1
Views: 45
Reputation: 311163
A string is a string, even if some of its characters are digits. You can use a varchar
.
Upvotes: 1