SQL99Strings_en.xml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. BI and PM: QECL
  5. (C) Copyright IBM Corp. 2005, 2009, 2013, 2020
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <stringTable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CCLMessageFile.xsd" usage="String">
  9. <component name="S99">
  10. <section name="S91" type="UI">
  11. <string id="SQL-99">Common Functions</string>
  12. <string id="common_AtoC" type="String">A-C</string>
  13. <string id="common_DtoG" type="String">D-G</string>
  14. <string id="common_HtoL" type="String">H-L</string>
  15. <string id="common_MtoQ" type="String">M-Q</string>
  16. <string id="common_RtoZ" type="String">R-Z</string>
  17. <string id="common_trig_functions" type="String">Trigonometric functions</string>
  18. </section>
  19. <section name="SCA" type="UI">
  20. <string id="sql99_scalar" type="String">SQL-99 Scalar</string>
  21. <string id="sql99_abs.syntax" type="String" usage="Do not translate: abs">abs (&#160;numeric_expression&#160;)</string>
  22. <string id="sql99_abs.tip" type="String">Returns the absolute value of "numeric_expression". Negative values are returned as positive values.</string>
  23. <string id="sql99_abs.example.1" type="String" usage="Do not translate: abs">Example: abs (&#160;15&#160;)</string>
  24. <string id="sql99_abs.result.1" type="String">Result: 15</string>
  25. <string id="sql99_abs.example.2" type="String" usage="Do not translate: abs">Example: abs (&#160;-15&#160;)</string>
  26. <string id="sql99_abs.result.2" type="String">Result: 15</string>
  27. <string id="sql99_bit_length" type="String" usage="Do not translate: bit_length">bit_length</string>
  28. <string id="sql99_bit_length.syntax" type="String" usage="Do not translate: bit_length">bit_length (&#160;string_expression&#160;)</string>
  29. <string id="sql99_bit_length.tip" type="String">Returns the number of bits in "string_expression".</string>
  30. <string id="sql99_cast.syntax" type="String" usage="Do not translate: cast">cast (&#160;expression&#160;,&#160;datatype_specification&#160;)</string>
  31. <string id="sql99_cast.tip" usage="Do not translate words: character, varchar, char, numeric, decimal, integer, bigint, smallint, real, float, date, time, timestamp, time with time zone, timestamp with time zone, and interval, year, YEAR, to, TO, month, MONTH, day, DAY, hour, minute, second. Retain newlines and layout" type="String">Converts "expression" to a specified data type. Some data types allow for a length and precision to be specified. Make sure that the target is of the appropriate type and size. The following can be used for "datatype_specification": character, varchar, char, numeric, decimal, integer, bigint, smallint, real, float, date, time, timestamp, time with time zone, timestamp with time zone, and interval. When type casting to an interval type, one of the following interval qualifiers must be specified: year, month, or year to month for the year-to-month interval datatype; day, hour, minute, second, day to hour, day to minute, day to second, hour to minute, hour to second, or minute to second for the day-to-second interval datatype.
  32. Notes:
  33. When you convert a value of type timestamp to type date, the time portion of the timestamp value is ignored.
  34. When you convert a value of type timestamp to type time, the date portion of the timestamp is ignored.
  35. When you convert a value of type date to type timestamp, the time components of the timestamp are set to zero.
  36. When you convert a value of type time to type timestamp, the date component is set to the current system date.
  37. It is invalid to convert one interval datatype to the other (for instance because the number of days in a month is variable). Note that you can specify the number of digits for the leading qualifier only, i.e. YEAR(4) TO MONTH, DAY(5).
  38. Errors will be reported if the target type and size are not compatible with the source type and size.
  39. </string>
  40. <string id="sql99_cast.example.1" usage="Do not translate: cast, integer" type="String">Example: cast (&#160;'123'&#160;,&#160;integer&#160;)</string>
  41. <string id="sql99_cast.result.1" type="String">Result: 123</string>
  42. <string id="sql99_cast.example.2" usage="Do not translate: cast, varchar" type="String">Example: cast (&#160;12345&#160;,&#160;varchar (&#160;10&#160;)&#160;)</string>
  43. <string id="sql99_cast.result.2" type="String">Result: a string containing 12345</string>
  44. <string id="sql99_char_length.syntax" type="String" usage="Do not translate: char_length">char_length (&#160;string_expression&#160;)</string>
  45. <string id="sql99_char_length.tip" type="String">Returns the number of logical characters in "string_expression". The number of logical characters can be distinct from the number of bytes in some East Asian locales.</string>
  46. <string id="sql99_char_length.example.1" type="String" usage="Do not translate: char_length">Example: char_length (&#160;'Canada'&#160;)</string>
  47. <string id="sql99_char_length.result.1" type="String">Result: 6</string>
  48. <string id="sql99_character_length.syntax" type="String" usage="Do not translate: character_length">character_length (&#160;string_expression&#160;)</string>
  49. <string id="sql99_character_length.tip" type="String">Returns the number of characters in "string_expression".</string>
  50. <string id="sql99_character_length.example.1" type="String" usage="Do not translate: character_length">Example: character_length (&#160;'Canada'&#160;)</string>
  51. <string id="sql99_character_length.result.1" type="String">Result: 6</string>
  52. <string id="sql99_current_date" type="String" usage="Do not translate: current_date">current_date</string>
  53. <string id="sql99_current_date.syntax" type="String" usage="Do not translate: current_date">current_date</string>
  54. <string id="sql99_current_date.tip" type="String">Returns a date value representing the current date of the computer that the database software runs on.</string>
  55. <string id="sql99_current_date.example.1" type="String" usage="Do not translate: current_date">Example: current_date</string>
  56. <string id="sql99_current_date.result.1" type="String">Result: 2003-03-04</string>
  57. <string id="sql99_current_time" type="String" usage="Do not translate: current_time">current_time</string>
  58. <string id="sql99_current_time.syntax" type="String" usage="Do not translate: current_time">current_time</string>
  59. <string id="sql99_current_time.tip" type="String">Returns a time with time zone value, representing the current time of the computer that runs the database software if the database supports this function. Otherwise, it represents the current time of the computer that runs IBM® Cognos® BI software.</string>
  60. <string id="sql99_current_time.example.1" type="String" usage="Do not translate: current_time">Example: current_time</string>
  61. <string id="sql99_current_time.result.1" type="String">Result: 16:33:11.354+05:00</string>
  62. <string id="sql99_current_timestamp" type="String" usage="Do not translate: current_timestamp">current_timestamp</string>
  63. <string id="sql99_current_timestamp.syntax" type="String" usage="Do not translate: current_timestamp">current_timestamp</string>
  64. <string id="sql99_current_timestamp.tip" type="String">Returns a datetime with time zone value, representing the current time of the computer that runs the database software if the database supports this function. Otherwise, it represents the current time of the computer that runs IBM® Cognos® BI software.</string>
  65. <string id="sql99_current_timestamp.example.1" type="String" usage="Do not translate: current_timestamp">Example: current_timestamp</string>
  66. <string id="sql99_current_timestamp.result.1" type="String">Result: 2003-03-03 16:40:15.535+05:00</string>
  67. <string id="sql99_localtime" type="String" usage="Do not translate: localtime">localtime</string>
  68. <string id="sql99_localtime.syntax" type="String" usage="Do not translate: localtime">localtime</string>
  69. <string id="sql99_localtime.tip" type="String">Returns a time value, representing the current time of the computer that runs the database software.</string>
  70. <string id="sql99_localtime.example.1" type="String" usage="Do not translate: localtime">Example: localtime</string>
  71. <string id="sql99_localtime.result.1" type="String">Result: 16:33:11</string>
  72. <string id="sql99_localtimestamp" type="String" usage="Do not translate: localtimestamp">localtimestamp</string>
  73. <string id="sql99_localtimestamp.syntax" type="String" usage="Do not translate: localtimestamp">localtimestamp</string>
  74. <string id="sql99_localtimestamp.tip" type="String">Returns a datetime value, representing the current timestamp of the computer that runs the database software.</string>
  75. <string id="sql99_localtimestamp.example.1" type="String" usage="Do not translate: localtimestamp">Example: localtimestamp</string>
  76. <string id="sql99_localtimestamp.result.1" type="String">Result: 2003-03-03 16:40:15</string>
  77. <string id="sql99_extract.syntax" type="String" usage="Do not translate: extract">extract (&#160;datepart&#160;,&#160;datetime_expression&#160;)</string>
  78. <string id="sql99_extract.tip" type="String" usage="Do not translate: year, month, day, hour, minute, second, epoch">Returns an integer representing the value of datepart (year, month, day, hour, minute, second, epoch) in "datetime_expression".</string>
  79. <string id="sql99_extract.example.1" type="String" usage="Do not translate: extract, year">Example: extract (&#160;year&#160;,&#160;2003-03-03 16:40:15.535&#160;)</string>
  80. <string id="sql99_extract.result.1" type="String">Result: 2003</string>
  81. <string id="sql99_extract.example.2" type="String" usage="Do not translate: extract, hour">Example: extract (&#160;hour&#160;,&#160;2003-03-03 16:40:15.535&#160;)</string>
  82. <string id="sql99_extract.result.2" type="String">Result: 16</string>
  83. <string id="sql99_extract.example.3" type="String" usage="Do not translate: extract, epoch">Example: extract (&#160;epoch&#160;,&#160;2014-11-23&#160;)</string>
  84. <string id="sql99_extract.result.3" type="String">Result: 1416718800</string>
  85. <string id="sql99_lower.syntax" type="String" usage="Do not translate: lower">lower (&#160;string_expression&#160;)</string>
  86. <string id="sql99_lower.tip" type="String">Returns "string_expression" with all uppercase characters shifted to lowercase.</string>
  87. <string id="sql99_lower.example.1" type="String" usage="Do not translate: lower">Example: lower (&#160;'ABCDEF'&#160;)</string>
  88. <string id="sql99_lower.result.1" type="String">Result: abcdef</string>
  89. <string id="sql99_mod.syntax" type="String" usage="Do not translate: mod">mod (&#160;integer_expression1, integer_expression2&#160;)</string>
  90. <string id="sql99_mod.tip" type="String">Returns the remainder (modulus) of "integer_expression1" divided by "integer_expression2". "Integer_expression2" must not be zero or an exception condition is raised.</string>
  91. <string id="sql99_mod.example.1" type="String" usage="Do not translate: mod">Example: mod (&#160;20&#160;,&#160;3&#160;)</string>
  92. <string id="sql99_mod.result.1" type="String">Result: 2</string>
  93. <string id="sql99_occurrences_regex.syntax" type="String" usage="Do not translate: occurrences_regex">occurrences_regex (&#160;regex_expression&#160;,&#160;string_expression [&#160;,&#160;integer_expression&#160;[&#160;,&#160;flags_expression&#160;]]&#160;)</string>
  94. <string id="sql99_occurrences_regex.tip" type="String">Returns the integer value representing the number of occurrences of the regular expression "regex_expression" in "string_expression". The search starts at position "integer_expression", which has a default value of 1. Flags to set options for the interpretation of the regular expression are specified by "flags_expression". Individual letters are used to define the flags, with valid values being 's', 'm', 'i', and 'x'.</string>
  95. <string id="sql99_occurrences_regex.example.1" type="String" usage="Do not translate: occurrences_regex">Example: occurrences_regex (&#160;'.er'&#160;,&#160;'Flicker Lantern')</string>
  96. <string id="sql99_occurrences_regex.result.1" type="String">Result: 2</string>
  97. <string id="sql99_octet_length.syntax" type="String" usage="Do not translate: octet_length">octet_length (&#160;string_expression&#160;)</string>
  98. <string id="sql99_octet_length.tip" type="String">Returns the number of bytes in "string_expression".</string>
  99. <string id="sql99_octet_length.example.1" type="String" usage="Do not translate: octet_length">Example: octet_length (&#160;'ABCDEF'&#160;)</string>
  100. <string id="sql99_octet_length.result.1" type="String">Result: 6</string>
  101. <string id="sql99_octet_length.example.2" type="String" usage="Do not translate: octet_length">Example: octet_length (&#160;''&#160;)</string>
  102. <string id="sql99_octet_length.result.2" type="String">Result: 0</string>
  103. <string id="sql99_position.syntax" type="String" usage="Do not translate: position">position (&#160;string_expression1&#160;,&#160;string_expression2&#160;)</string>
  104. <string id="sql99_position.tip" type="String">Returns the integer value representing the starting position of "string_expression1" in "string_expression2" or 0 when the "string_expression1" is not found.</string>
  105. <string id="sql99_position.example.1" type="String" usage="Do not translate: position">Example: position (&#160;'C'&#160;,&#160;'ABCDEF'&#160;)</string>
  106. <string id="sql99_position.result.1" type="String">Result: 3</string>
  107. <string id="sql99_position.example.2" type="String" usage="Do not translate: position">Example: position (&#160;'H'&#160;,&#160;'ABCDEF'&#160;)</string>
  108. <string id="sql99_position.result.2" type="String">Result: 0</string>
  109. <string id="sql99_position_regex.syntax" type="String" usage="Do not translate: position_regex">position_regex ([&#160;start|after&#160;] &#160;regex_expression&#160;,&#160;string_expression [&#160;,&#160;integer_expression1&#160;[&#160;,&#160;integer_expression2&#160;[&#160;,&#160;flags_expression&#160;]]]&#160;)</string>
  110. <string id="sql99_position_regex.tip" type="String">Returns the integer value representing the beginning or ending position of the substring in "string_expression" that matches the regular expression "regex_expression". The search starts at position "integer_expression1", which has a default value of 1. The occurrence of the pattern to search for is specified by "integer_expression2", which has a default value of 1. The return option, specified by the first argument, specifies what is returned in relation to the occurrence. If you specify "start", the position of the first character of the occurrence is returned. If you specify "after", the position of the character following the occurrence is returned. If you don't specify a return option, "start" is implicit. Flags to set options for the interpretation of the regular expression are specified by "flags_expression". Individual letters are used to define the flags, with valid values being 's', 'm', 'i', and 'x'.</string>
  111. <string id="sql99_position_regex.example.1" type="String" usage="Do not translate: position_regex">Example: position_regex (&#160;'.er'&#160;,&#160;'Flicker Lantern')</string>
  112. <string id="sql99_position_regex.result.1" type="String">Result: 5</string>
  113. <string id="sql99_position_regex.example.2" type="String" usage="Do not translate: position_regex">Example: position_regex (&#160;after '.er'&#160;,&#160;'Flicker Lantern'&#160;)</string>
  114. <string id="sql99_position_regex.result.2" type="String">Result: 8</string>
  115. <string id="sql99_position_regex.example.3" type="String" usage="Do not translate: position_regex">Example: position_regex (&#160;'.er'&#160;,&#160;'Flicker Lantern'&#160;,&#160;1&#160;,&#160;2&#160;)</string>
  116. <string id="sql99_position_regex.result.3" type="String">Result: 12</string>
  117. <string id="sql99_trim.syntax" type="String" usage="Do not translate: trim">trim (&#160;[&#160;[&#160;trailing|leading|both&#160;] [&#160;match_character_expression&#160;]&#160;,&#160;] string_expression&#160;)</string>
  118. <string id="sql99_trim.tip" type="String">Returns "string_expression" trimmed of leading and trailing blanks or trimmed of a certain character specified in "match_character_expression". "Both" is implicit when the first argument is not stated and blank is implicit when the second argument is not stated.</string>
  119. <string id="sql99_trim.example.1" type="String" usage="Do not translate: trim">Example: trim (&#160;trailing 'A'&#160;,&#160;'ABCDEFA'&#160;)</string>
  120. <string id="sql99_trim.result.1" type="String">Result: ABCDEF</string>
  121. <string id="sql99_trim.example.2" type="String" usage="Do not translate: trim">Example: trim (&#160;both&#160;,&#160;' ABCDEF '&#160;)</string>
  122. <string id="sql99_trim.result.2" type="String">Result: ABCDEF</string>
  123. <string id="sql99_upper.syntax" type="String" usage="Do not translate: upper">upper (&#160;string_expression&#160;)</string>
  124. <string id="sql99_upper.tip" type="String">Returns "string_expression" with all lowercase characters converted to uppercase.</string>
  125. <string id="sql99_upper.example.1" type="String" usage="Do not translate: upper">Example: upper (&#160;'abcdef'&#160;)</string>
  126. <string id="sql99_upper.result.1" type="String">Result: ABCDEF</string>
  127. <string id="sql99_user" type="String" usage="Do not translate: user">user</string>
  128. <string id="sql99_user.syntax" type="String" usage="Do not translate: user">user</string>
  129. <string id="sql99_user.tip" type="String">Returns an authorization ID to database manager at runtime.</string>
  130. <string id="sql99_nullif" type="String" usage="Do not translate: nullif">nullif</string>
  131. <string id="sql99_nullif.syntax" type="String" usage="Do not translate: nullif">nullif (&#160;expression1, expression2&#160;)</string>
  132. <string id="sql99_nullif.tip" type="String">Returns null if "expression1" equals "expression2", otherwise returns "expression1".</string>
  133. <string id="sql99_coalesce.syntax" type="String" usage="Do not translate: coalesce">coalesce (&#160;expression_list&#160;)</string>
  134. <string id="sql99_coalesce.tip" type="String"> Returns the first non-null argument (or null if all arguments are null). Requires two or more arguments in "expression_list".</string>
  135. <string id="sql99_coalesce.example.1" type="String" usage="Do not translate: coalesce">coalesce (&#160;[Unit price], [Unit sale price]&#160;)</string>
  136. <string id="sql99_coalesce.result.1" type="String">Result: Returns the unit price, or the unit sale price if the unit price is null.</string>
  137. <string id="sql99_coalesce2.syntax" type="String" usage="Do not translate: coalesce">coalesce (&#160;expression_list&#160;)</string>
  138. <string id="sql99_coalesce2.tip" type="String"> Returns the first non-null argument (or null if all arguments are null). Requires one or more arguments in "expression_list".</string>
  139. <string id="sql99_coalesce2.example.1" type="String" usage="Do not translate: coalesce">coalesce (&#160;[Unit price], [Unit sale price]&#160;)</string>
  140. <string id="sql99_coalesce2.result.1" type="String">Result: Returns the unit price, or the unit sale price if the unit price is null.</string>
  141. <string id="sql99_ceil.syntax" type="String" usage="Do not translate: ceil">ceil (&#160;numeric_expression&#160;)</string>
  142. <string id="sql99_ceil.tip" type="String">Returns the smallest integer that is greater than or equal to "numeric_expression".</string>
  143. <string id="sql99_ceiling.syntax" type="String" usage="Do not translate: ceiling">ceiling (&#160;numeric_expression&#160;)</string>
  144. <string id="sql99_ceiling.tip" type="String">Returns the smallest integer that is greater than or equal to "numeric_expression".</string>
  145. <string id="sql99_ceiling.example.1" type="String" usage="Do not translate: ceiling">Example: ceiling (&#160;4.22&#160;)</string>
  146. <string id="sql99_ceiling.result.1" type="String">Result: 5</string>
  147. <string id="sql99_ceiling.example.2" type="String" usage="Do not translate: ceiling">Example: ceiling (&#160;-1.23&#160;)</string>
  148. <string id="sql99_ceiling.result.2" type="String">Result: -1</string>
  149. <string id="sql99_ln.syntax" type="String" usage="Do not translate: ln">ln (&#160;numeric_expression&#160;)</string>
  150. <string id="sql99_ln.tip" type="String">Returns the natural logarithm of "numeric_expression".</string>
  151. <string id="sql99_ln.example.1" type="String" usage="Do not translate: ln">Example: ln (&#160;4&#160;) </string>
  152. <string id="sql99_ln.result.1" type="String">Result: 1.38629</string>
  153. <string id="sql99_exp.syntax" type="String" usage="Do not translate: exp">exp (&#160;numeric_expression&#160;)</string>
  154. <string id="sql99_exp.tip" type="String">Returns 'e' raised to the power of "numeric_expression". The constant 'e' is the base of the natural logarithm.</string>
  155. <string id="sql99_exp.example.1" type="String" usage="Do not translate: exp">Example: exp (&#160;2&#160;)</string>
  156. <string id="sql99_exp.result.1" type="String">Result: 7.389056</string>
  157. <string id="sql99_period.syntax" type="String" usage="Do not translate: period">period (&#160;datetime_expression1&#160;,&#160;datetime_expression2&#160;)</string>
  158. <string id="sql99_period.tip" type="String">Constructs a period value with a starting point of "datetime_expression1" and an end point of "datetime_expression2". The data types of the start and end points must be identical, and can be one of date, time, or dateTime. Period values can be used in period predicates.</string>
  159. <string id="sql99_period.example.1" type="String" usage="Do not translate: period">Example: period (&#160;2003-03-03&#160;,&#160;2003-10-03&#160;)</string>
  160. <string id="sql99_period.example.2" type="String" usage="Do not translate: period">Example: period (&#160;12:00:00&#160;,&#160;23:59:59&#160;)</string>
  161. <string id="sql99_period.example.3" type="String" usage="Do not translate: period">Example: period (&#160;2003-03-03 12:00:00&#160;,&#160;2003-10-03 23:59:59&#160;)</string>
  162. <string id="sql99_period.example.4" type="String" usage="Do not translate: period">Example: period (&#160;[EMP].[BUS_START]&#160;,&#160;[EMP].[BUS_END]&#160;)</string>
  163. <string id="sql99_power.syntax" type="String" usage="Do not translate: power">power (&#160;numeric_expression1&#160;,&#160;numeric_expression2&#160;)</string>
  164. <string id="sql99_power.tip" type="String">Returns "numeric_expression1" raised to the power "numeric_expression2". If "numeric_expression1" is negative, then "numeric_expression2" must result in an integer value.</string>
  165. <string id="sql99_power.example.1" type="String" usage="Do not translate: power">Example: power (&#160;3&#160;,&#160;2&#160;)</string>
  166. <string id="sql99_power.result.1" type="String">Result: 9</string>
  167. <string id="btf_random.syntax" type="String" usage="Do not translate: random">random (&#160;[&#160;integer_expression&#160;]&#160;)</string>
  168. <string id="btf_random.tip" type="String">Returns a random float value between 0 and 1, using the optional "integer_expression" as a seed value.</string>
  169. <string id="btf_round.syntax" usage="Do not translate: _round" type="String">_round (&#160;numeric_expression&#160;,&#160;integer_expression&#160;)</string>
  170. <string id="btf_round.tip" type="String" usage="Retain newlines and layout">Returns "numeric_expression" rounded to "integer_expression" places to the right of the decimal point.
  171. Notes: "integer_expression" must be a non-negative integer. Rounding takes place before data formatting is applied.</string>
  172. <string id="btf_round.example.1" usage="Do not translate: _round" type="String">Example: _round (&#160;1220.42369, 2&#160;)</string>
  173. <string id="btf_round.result.1" type="String">Result: 1220.42</string>
  174. <string id="sql99_row.tip" usage="Do not translate: IF, THEN, ELSE, IN. Translate: row, constructor" type="String">The row constructor represents a collection of values organized as a row of data. It can be used in conditional expressions (i.e. IF-THEN-ELSE) and filter expressions (i.e. IN clause).</string>
  175. <string id="sql99_row.syntax" usage="Do not translate: row" type="String">row (&#160;expression_list&#160;)</string>
  176. <string id="sql99_row.example.1" usage="Do not translate: row, if, then, else. Retain newlines and layout." type="String">Example:
  177. if ( row([RetailerName],[OrderMethodCode]) = row('ActiForme',4) )
  178. then ('A')
  179. else ('B')</string>
  180. <string id="sql99_row.result.1" type="String">Result: Returns 'A' if the Retailer Name is 'ActiForme' and the order method code is 4. Otherwise, the value 'B' is returned.</string>
  181. <string id="sql99_row.example.2" usage="Do not translate: row, case, when, else, end. Retain newlines and layout" type="String">Example:
  182. case row([RetailerName],[OrderMethodCode])
  183. when row('Advanced Climbing Ltd',3) then 1
  184. when row('ActiForme',5) then 2
  185. else 3
  186. end</string>
  187. <string id="sql99_row.result.2" type="String">Result: Returns 1 if the Retailer Name is 'Advanced Climbing Ltd' and the order method code is 3. Returns 2 if the Retailer Name is 'ActiForme' and the order method code is 5. Otherwise, the value 3 is returned.</string>
  188. <string id="sql99_row.example.3" usage="Do not translate: row, in" type="String">Example: row ( [OrderMethodCode], [Year] ) in ( [Query].[OMC], [Query].[YR] )</string>
  189. <string id="sql99_row.result.3" usage="Do not translate: in. Retain newlines and layout." type="String">Result: The returned data is filtered on the following two conditions:
  190. 1) [OrderMethodCode] in ([Query].[OMC])
  191. 2) [Year] in ([Query].[YR])</string>
  192. <string id="sql99_sqrt.syntax" type="String" usage="Do not translate: sqrt">sqrt (&#160;numeric_expression&#160;)</string>
  193. <string id="sql99_sqrt.tip" type="String">Returns the square root of "numeric_expression". "Numeric_expression" must be non-negative.</string>
  194. <string id="sql99_sqrt.example.1" type="String" usage="Do not translate: sqrt">Example: sqrt (&#160;9&#160;)</string>
  195. <string id="sql99_sqrt.result.1" type="String">Result: 3</string>
  196. <string id="sql99_substring.syntax" type="String" usage="Do not translate: substring">substring (&#160;string_expression&#160;,&#160;integer_expression1 [&#160;,&#160;integer_expression2&#160;]&#160;)</string>
  197. <string id="sql99_substring.tip" type="String">Returns the substring of "string_expression" that starts at position "integer_expression1" for "integer_expression2" characters or to the end of "string_expression" if "integer_expression2" is omitted. The first character in "string_expression" is at position 1.</string>
  198. <string id="sql99_substring.example.1" type="String" usage="Do not translate: substring">Example: substring (&#160;'abcdefg'&#160;,&#160;3&#160;,&#160;2&#160;)</string>
  199. <string id="sql99_substring.result.1" type="String">Result: cd</string>
  200. <string id="sql99_substring_regex.syntax" type="String" usage="Do not translate: substring_regex">substring_regex (&#160;regex_expression&#160;,&#160;string_expression [&#160;,&#160;integer_expression1&#160;[&#160;,&#160;integer_expression2&#160;[&#160;,&#160;flags_expression&#160;]]]&#160;)</string>
  201. <string id="sql99_substring_regex.tip" type="String">Returns a substring of "string_expression" that matches the regular expression "regex_expression". The search starts at position "integer_expression1", which has a default value of 1. The occurrence of the pattern to search for is specified by "integer_expression2", which has a default value of 1. Flags to set options for the interpretation of the regular expression are specified by "flags_expression". Individual letters are used to define the flags, with valid values being 's', 'm', 'i', and 'x'.</string>
  202. <string id="sql99_substring_regex.example.1" type="String" usage="Do not translate: substring_regex">Example: substring_regex (&#160;'.er'&#160;,&#160;'Flicker Lantern')</string>
  203. <string id="sql99_substring_regex.result.1" type="String">Result: ker</string>
  204. <string id="sql99_substring_regex.example.2" type="String" usage="Do not translate: substring_regex">Example: substring_regex (&#160;'.er'&#160;,&#160;'Flicker Lantern'&#160;,&#160;1&#160;,&#160;2&#160;)</string>
  205. <string id="sql99_substring_regex.result.2" type="String">Result: ter</string>
  206. <string id="sql99_floor.syntax" type="String" usage="Do not translate: floor">floor (&#160;numeric_expression&#160;)</string>
  207. <string id="sql99_floor.tip" type="String">Returns the largest integer that is less than or equal to "numeric_expression".</string>
  208. <string id="sql99_floor.example.1" type="String" usage="Do not translate: floor">Example: floor (&#160;3.22&#160;)</string>
  209. <string id="sql99_floor.result.1" type="String">Result: 3</string>
  210. <string id="sql99_floor.example.2" type="String" usage="Do not translate: floor">Example: floor (&#160;-1.23&#160;)</string>
  211. <string id="sql99_floor.result.2" type="String">Result: -2</string>
  212. <string id="sql99_width_bucket.syntax" type="String" usage="Do not translate: width-bucket">width-bucket (&#160;numeric_expression&#160;, &#160;min_value&#160;, &#160;max_value&#160;, &#160;num_of_buckets&#160;)</string>
  213. <string id="sql99_width_bucket.tip" type="String">For a given expression, this function returns the bucket number into which the value of this expression would fall after being evaluated.</string>
  214. <string id="sql99_width_bucket.example.1" type="String" usage="Do not translate: width-bucket">Example: width-bucket (&#160;Quantity&#160;, &#160;100&#160;, &#160;5000&#160;, &#160;10&#160;)</string>
  215. <string id="sql99_width_bucket.result.1" type="String">Result: For each row, returns the bucket number (from 0 to 11) for the current Quantity value.</string>
  216. <!-- START NON-TRANSLATABLE -->
  217. <string id="sql99_width_bucket.resultdata.1" type="String">
  218. Quantity width-bucket (Quantity)
  219. ------------ -------------------------------------
  220. 50 0
  221. 450 1
  222. 1400 3
  223. 3600 8
  224. 4900 10
  225. 5000 11</string>
  226. <!-- END NON-TRANSLATABLE -->
  227. <string id="trig_sin.syntax" type="String" usage="Do not translate: sin">sin (&#160;numeric_expression&#160;)</string>
  228. <string id="trig_sin.tip" type="String">This trigonometric function returns the sine of the argument, where the argument is an angle expressed in radians.</string>
  229. <string id="trig_sin.example.1" type="String" usage="Do not translate: sin">Example: sin (&#160;0.1667 * 3.1415&#160;)</string>
  230. <string id="trig_sin.result.1" type="String">Result: 0.5</string>
  231. <string id="trig_cos.syntax" type="String" usage="Do not translate: cos">cos (&#160;numeric_expression&#160;)</string>
  232. <string id="trig_cos.tip" type="String">This trigonometric function returns the cosine of the argument, where the argument is an angle expressed in radians.</string>
  233. <string id="trig_cos.example.1" type="String" usage="Do not translate: cos">Example: cos (&#160;0.3333 * 3.1415&#160;)</string>
  234. <string id="trig_cos.result.1" type="String">Result: 0.5</string>
  235. <string id="trig_tan.syntax" type="String" usage="Do not translate: tan">tan (&#160;numeric_expression&#160;)</string>
  236. <string id="trig_tan.tip" type="String">This trigonometric function returns the tangent of the argument, where the argument is an angle expressed in radians.</string>
  237. <string id="trig_tan.example.1" type="String" usage="Do not translate: tan">Example: tan (&#160;0.25 * 3.1415&#160;)</string>
  238. <string id="trig_tan.result.1" type="String">Result: 1</string>
  239. <string id="trig_arccos.syntax" type="String" usage="Do not translate: arccos">arccos (&#160;numeric_expression&#160;)</string>
  240. <string id="trig_arccos.tip" type="String">This inverse trigonometric function returns the arc cosine of the argument, where the argument is in the range of -1 to 1 and the result is a value expressed in radians.</string>
  241. <string id="trig_arccos.example.1" type="String" usage="Do not translate: arccos">Example: arccos (&#160;-1&#160;)</string>
  242. <string id="trig_arccos.result.1" type="String">Result: 3.1415</string>
  243. <string id="trig_arcsin.syntax" type="String" usage="Do not translate: arcsin">arcsin (&#160;numeric_expression&#160;)</string>
  244. <string id="trig_arcsin.tip" type="String">This inverse trigonometric function returns the arc sine of the argument, where the argument is in the range of -1 to 1 and the result is a value expressed in radians.</string>
  245. <string id="trig_arcsin.example.1" type="String" usage="Do not translate: arcsin">Example: arcsin (&#160;0&#160;)</string>
  246. <string id="trig_arcsin.result.1" type="String">Result: 3.1415</string>
  247. <string id="trig_arctan.tip" type="String">This inverse trigonometric function returns the arc tangent of the argument, where the argument is in the range of -1 to 1 and the result is a value expressed in radians.</string>
  248. <string id="trig_arctan.syntax" type="String">arctan (&#160;numeric_expression&#160;)</string>
  249. <string id="trig_arctan.example.1" type="String" usage="Do not translate: arctan">Example: arctan (&#160;0&#160;)</string>
  250. <string id="trig_arctan.result.1" type="String">Result: 3.1415</string>
  251. <string id="trig_coshyp.syntax" type="String" usage="Do not translate: coshyp">coshyp (&#160;numeric_expression&#160;)</string>
  252. <string id="trig_coshyp.tip" type="String">This trigonometric function returns the hyperbolic cosine of the argument, where the argument is an angle expressed in radians.</string>
  253. <string id="trig_coshyp.example.1" type="String" usage="Do not translate: coshyp">Example: coshyp (&#160;0&#160;)</string>
  254. <string id="trig_coshyp.result.1" type="String">Result: 1</string>
  255. <string id="trig_sinhyp.syntax" type="String" usage="Do not translate: sinhyp">sinhyp (&#160;numeric_expression&#160;)</string>
  256. <string id="trig_sinhyp.tip" type="String">This trigonometric function returns the hyperbolic sine of the argument, where the argument is an angle expressed in radians.</string>
  257. <string id="trig_sinhyp.example.1" type="String" usage="Do not translate: sinhyp">Example: sinhyp (&#160;0&#160;)</string>
  258. <string id="trig_sinhyp.result.1" type="String">Result: 0</string>
  259. <string id="trig_tanhyp.syntax" type="String" usage="Do not translate: tanhyp">tanhyp (&#160;numeric_expression&#160;)</string>
  260. <string id="trig_tanhyp.tip" type="String">This trigonometric function returns the hyperbolic tangent of the argument, where the argument is an angle expressed in radians.</string>
  261. <string id="trig_tanhyp.example.1" type="String" usage="Do not translate: tanhyp">Example: tanhyp (&#160;0&#160;)</string>
  262. <string id="trig_tanhyp.result.1" type="String">Result: 0</string>
  263. </section>
  264. <section name="OLP" type="UI">
  265. <string id="sql99_olap" type="String">SQL-99 OLAP Extensions</string>
  266. <string id="sql99_cube" type="String" usage="Do not translate: cube">cube</string>
  267. <string id="sql99_cube.syntax" type="String" usage="Do not translate: cube">cube (&#160;grouping_column_reference_list&#160;)</string>
  268. <string id="sql99_cube.tip" type="String">This is a 'group by' clause that results in a grouping set list that contains a grouping set for all possible combinations of the grouping columns in "grouping_column_reference_list".</string>
  269. <string id="sql99_rollup" type="String" usage="Do not translate: rollup">rollup</string>
  270. <string id="sql99_rollup.syntax" type="String" usage="Do not translate: rollup">rollup (&#160;grouping_column_reference_list&#160;)</string>
  271. <string id="sql99_rollup.tip" type="String">This is a 'group by' clause that results in a grouping set list that contains a grouping set for every proper sublist of "grouping_column_reference_list" by dropping elements from the right, one by one.</string>
  272. <string id="sql99_grouping_sets" type="String" usage="Do not translate: grouping sets">grouping sets</string>
  273. <string id="sql99_grouping_sets.syntax" type="String" usage="Do not translate: grouping sets">grouping sets (&#160;grouping_set_list&#160;)</string>
  274. <string id="sql99_grouping_sets.tip" type="String">This is a 'group by' clause that specifies multiple sets to group by.</string>
  275. <string id="sql99_rank" type="String" usage="Do not translate: rank">rank</string>
  276. <string id="sql99_rank.syntax" type="String" usage="Do not translate: rank">rank ()</string>
  277. <string id="sql99_rank.tip" type="String">Computes the rank of the row within the window partition, where the rank of row x is defined as 1 plus the number of rows that precede x but are not peers of x.</string>
  278. <string id="sql99_dense_rank" type="String" usage="Do not translate: dense_rank">dense_rank</string>
  279. <string id="sql99_dense_rank.syntax" type="String" usage="Do not translate: dense_rank">dense_rank ()</string>
  280. <string id="sql99_dense_rank.tip" type="String">Computes the dense rank of the row within the window partition, where the dense rank of row x is defined as the number of rows preceding and including x that are distinct.</string>
  281. <string id="sql99_percent_rank" type="String" usage="Do not translate: percent_rank">percent_rank</string>
  282. <string id="sql99_percent_rank.syntax" type="String" usage="Do not translate: percent_rank">percent_rank ()</string>
  283. <string id="sql99_percent_rank.tip" type="String">Computes the percent rank of the row within the window partition, where the percent rank of row x is defined by (xy - 1) / (ab - 1) where xy is the rank of x and ab is the number of rows in the window partition.</string>
  284. <string id="sql99_row_number" type="String" usage="Do not translate: row_number">row_number</string>
  285. <string id="sql99_row_number.syntax" type="String" usage="Do not translate: row_number">row_number ()</string>
  286. <string id="sql99_row_number.tip" type="String">Computes the sequential row number of the row within its window partition starting with 1 for the first row.</string>
  287. <string id="sql99_ntile" type="String" usage="Do not translate: ntile">ntile</string>
  288. <string id="sql99_ntile.syntax" type="String" usage="Do not translate: ntile">ntile (&#160;numeric_expression&#160;)</string>
  289. <string id="sql99_ntile.tip" type="String">Divides an ordered dataset into a number of buckets as indicated by "numeric_expression" and assigns the appropriate bucket number to each row.</string>
  290. </section>
  291. </component>
  292. </stringTable>