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
You can not. MySQL has no user types. (At least not in current versions.)
Source: https://habr.com/ru/post/913830/More articles:Get the name of the called file from include () - includeCanonical equivalence in a template - javaTo process a vector as a vector without copying (C ++ 0x) - c ++Google maps api doesn't place marker at exact location - javaWhat is the difference between the variable "GLOBAL" and "STATIC" in PHP? - phpHow to directly send the output of a card reducer to another converter reducer without saving output to hdfs - hadoopLINQPad: Anyway, so that the Dump () results are initially collapsed? - linqpadThe fight against the authentication method - authenticationgit clone never ends - gitHow to restrict access rights based on the identifier of one page in the URL? - securityAll Articles