CREATE TYPE in MySQL

I cannot create a new data type in MySQL. Request below

CREATE TYPE PERSON AS OBJECT (NAME VARCHAR (30), SSN VARCHAR (9)); 

How can I do this in MySQL

+6
source share
1 answer

You can not. MySQL has no user types. (At least not in current versions.)

+11
source

Source: https://habr.com/ru/post/913830/


All Articles