ColumnsNullByDefault Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。
The ColumnsNullByDefault property controls column default value behavior when a table is created in the Microsoft SQL Server database.
構文
object.ColumnsNullByDefault [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetColumnsNullByDefault(LPBOOL pRetVal);
HRESULT SetColumnsNullByDefault(BOOL NewValue);
説明
If TRUE, columns in new tables allow NULL.
If FALSE, columns in new tables do not allow NULL.
The default behavior can be changed on a column-by-column basis. For more information, see AllowNulls Property.