ContactNull Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The ContactNull property specifies NULL-value handling for catenation.
語法
object.ContactNull [=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 GetContactNull(LPBOOL pRetVal);
HRESULT SetContactNull(BOOL NewValue);
備註
If TRUE, A + NULL, where A is a string, yields NULL.
If FALSE, A + NULL, where A is a string, yields A.
Any value for ContactNull is overridden by the AnsiNulls property, which controls NULL catenation behavior for a client session.