Please help me to create domain in MySQL. I have tried to run the followoing statement in MySQL but got syntax error: create domain age as int(2);
+2
A:
MySQL doesn't support user-defined domains, so its not possible to run a CREATE DOMAIN
statement.
Phil Ross
2009-11-07 18:44:15
and what about MS SQL Server?
Wilson
2009-11-07 18:46:00
MS SQL does support user-defined types. They can be created with CREATE TYPE.
Phil Ross
2009-11-07 18:52:02
+1
A:
Your syntax is not ok. I don't think that CREATE DOMAIN is supported by MySQL.
mRt
2009-11-07 18:52:21