Closed golamo closed 7 years ago
Should clarify in the spec that SQL_DATA_TYPE and DATA_TYPE are both SQL_ROW, SQL_UDT, SQL_MULTISET, and SQL_COLUMNS.
We should remove the concept of "untyped" from section 3.10.1. Untyped is a special case of an unnamed type that has no defined columns.
We should replace the last paragraph of 3.10.1 with a statement like "a structured type with no members returns an empty result set. The members of such a type are treated as dynamic columns by the client."
Updated spec, but need to determine how the client knows if a structured column with no backing type allows dynamic properties.
Perhaps assume any structured column with no backing is open?
Added: Clients must assume that instances of structured columns with no backing type may include undeclared (dynamic) columns.
So far I understand
However it is not clear what will be in SQL_DATA_TYPE for a Unnamed Structured Column?