The scenario is as follows: I have a custom data type which declares the data type as NOT NULL however when I apply the data type to an attribute of
a table, the table is generated with the table's attribute constraint NULL/NOT NULL setting instead of adhering to the custom data type setting -
this seems to in part defeat the purpose of a custom data type. I'm using sql server 2008.
You can create custom data types in MS 08 models, but there is no way to visually specify NOT NULL settings for custom data types.
Below a script that will set NULL or NOT NULL settings on attributes with the dictionary type.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center