Casting the Data Type of a Column
At times you may need to cast string data extracted from documents as another data type, so that an appropriate comparison can be made. Cast an identifier or literal as another data type using the following syntax:
CAST (<identifier> | <literal> AS <datatype>)
For example:
CAST ('10000' AS DBTYPE_I4)
CAST (System.DateCreated AS DBTYPE_WSTR)
Related topics
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro