傳回具有記錄屬性名稱和值的資料集。 GetRecordProperties 函式的結果必須與 CROSS APPLY 運算子搭配使用。
GetRecordProperties ( column_reference )
Column_reference
這是要評估的資料行參考運算式。 資料行必須是 Record 類型
傳回具有 PropertyName 和 PropertyValue 資料行的資料集。
SELECT
recordProperty.PropertyName,
recordProperty.PropertyValue
FROM input as event
CROSS APPLY GetRecordProperties(event.recordField) AS recordProperty