The ServerBCPKeepNulls property controls the handling of missing values for all columns accepting NULL and possessing a default value constraint when importing data.
object.ServerBCPKeepNulls [= value]
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Boolean
Read/write
HRESULT GetServerBCPKeepNulls(LPBOOL pRetVal);
HRESULT SetServerBCPKeepNulls(BOOL NewValue);
When TRUE, NULL is inserted when missing values are encountered in the data file. The default constraint does not supply a value for the column.
When FALSE, the default constraint provides a value for any missing values encountered in the data file. FALSE is the default value.
The ServerBCPKeepNulls property is interpreted only when importing data and when the UseServerSideBCP property of the BulkCopy object is TRUE.