Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用什么表示法从表类型的字段(基本上是字段内的嵌入表)中提取特定/所有行和字段信息?
您可以使用 -> 表示法。例如,您的表名是“Sample.Person”,而“zipcode”是该表中指向“Sample.Zipcodes”的列
示例查询:
SELECT *,zipcode->name,zipcode->number FROM Sample.Person SELECT * FROM Sample.Person where zipcode->name = 'foo bar'