ISO/IEC TR 19075-1:2011 信息技术 数据库语言 SQL技术报告 第1部分:SQL中的XQuery规则表达支持
标准编号:ISO/IEC TR 19075-1:2011
中文名称:信息技术 数据库语言 SQL技术报告 第1部分:SQL中的XQuery规则表达支持
英文名称:Information technology — Database languages — SQL Technical Reports — Part 1: XQuery Regular Expression Support in SQL
发布日期:2011-07
标准范围
ISO/IEC TR 19075-1:20 11描述了SQL中的正则表达式支持,该支持取自XQuery 1.0和XPath2.0函数和运算符(第二版)的正则表达式语法,该语法源自Perl。它讨论了使用此正则表达式语法的五个运算符:LIKE_REGEX谓词,用于确定是否存在与正则表达式匹配的函数。OCCURRENCES_REGEX数值函数,用于确定与正则表达式匹配的次数。POSITION_REGEX函数,用于确定match.SUBSTRING_REGEX函数的位置,提取与正则表达式匹配的子字符串。TRANSLATE_REGEX函数,用于使用正则表达式执行替换。
ISO/IEC TR 19075-1:2011 describes the regular expression support in SQL adopted from the regular expression syntax of XQuery 1.0 and XPath 2.0 Functions and Operators (Second Edition), which is derived from Perl. It discusses five operators using this regular expression syntax:
- LIKE_REGEX predicate, to determine the existence of a match to a regular expression.
- OCCURRENCES_REGEX numeric function, to determine the number of matches to a regular expression.
- POSITION_REGEX function, to determine the position of a match.
- SUBSTRING_REGEX function, to extract a substring matching a regular expression.
- TRANSLATE_REGEX function, to perform replacements using a regular expression.
标准预览图


