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 list
- value
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.