In MySQL I'm using enum and display variable with enum_range.
How can I display check variable range in SQL Server if
roles VARCHAR(10) NOT NULL CHECK (roles IN('Admin', 'Staff', 'User'))
In MySQL I'm using enum and display variable with enum_range.
How can I display check variable range in SQL Server if
roles VARCHAR(10) NOT NULL CHECK (roles IN('Admin', 'Staff', 'User'))
Copyright © 2021 Jogjafile Inc.
If you want to see the values, don't use either
enumorcheck. Use foreign key constraints:The shortcuts you want to use just get in the way of using the capabilities of the database.