cogdmod_ig.ini 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. ;***********************************************************************
  2. ;Licensed Materials - Property of IBM
  3. ;
  4. ;BI and PM: UDA
  5. ;
  6. ;(C) Copyright IBM Corp. 2005, 2020
  7. ;
  8. ;U.S. Government Users Restricted Rights - Use, duplication, or disclosure
  9. ;by GSA ADP Schedule Contract with IBM Corp.
  10. ;
  11. ;Unless specifically authorized by IBM, you may not modify any part of this
  12. ;file. Where modification is authorized, you must reproduce any copyright
  13. ;notices contained in this file and specifically identify which
  14. ;modifications have been made by your organization. YOU ARE SOLELY
  15. ;RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF ANY MODIFICATIONS TO
  16. ;THIS FILE AND ASSUME ALL RISKS ASSOCIATED WITH THE USE AND DISTRIBUTION
  17. ;OF THE MODIFIED FILE. IBM will not provide support relating to
  18. ;unauthorized changes you make to this file.
  19. ;***********************************************************************
  20. ; $Header: //uda/main/prod/dmd/sgi/odbc35/generic_od/cogdmod_ig.ini#3 $
  21. ;
  22. ; Module:
  23. ; cogdmig.ini
  24. ;
  25. ; Purpose:
  26. ; This module contains the Ingres gateway information.
  27. ;
  28. ; Notes:
  29. ; Do NOT modify this file. Doing so could result in unknown behavior
  30. ; by the Ingres gateway, possibly resulting in application aborts.
  31. ;
  32. ; ************************************************************************
  33. [Expression Results]
  34. [Exceptions Commands]
  35. Call=
  36. [Exceptions Clauses]
  37. [Exceptions Tables]
  38. Derived=F
  39. Joined=F
  40. [Exceptions Joins]
  41. Inner=F
  42. Left_Outer=T
  43. Right_Outer=T
  44. Full_Outer=T
  45. Cross=F
  46. Left_Eql=" LEFT JOIN "
  47. Right_Eql=" RIGHT JOIN "
  48. Nested_Outer=T
  49. Left_Nested=T
  50. Right_Nested=T
  51. Left_Pre=""
  52. Left_Post=""
  53. Right_Pre=""
  54. Right_Post=""
  55. Inner_Tbl_Restrict=F
  56. Optnl_Tbl_Restrict=F
  57. Outer_Tbl_List=F
  58. Outer_Syntax=T
  59. Optnl_Tbl_Filter=T
  60. Optnl_Tbl_Join_Filter=T
  61. Non_Equi_Joins=T
  62. Full_Non_Equi_Join=T
  63. On_Condition_Set_Functions=F
  64. On_Condition_Subqueries=F
  65. On_Condition_Not_Predicate=T
  66. On_Condition_In_Predicate=T
  67. On_Condition_Between_Predicate=T
  68. On_Condition_Like_Predicate=T
  69. On_Condition_IsNull_Predicate=T
  70. Full_Syntax=" FULL JOIN "
  71. Cross_Syntax=
  72. Union_Syntax=
  73. Inner_Syntax=
  74. Natural_Syntax=
  75. Full_Pre=
  76. Full_Post=
  77. [Exceptions Joins INGRES6.4]
  78. Inner=F
  79. Left_Outer=F
  80. Right_Outer=F
  81. Full_Outer=F
  82. Cross=F
  83. Nested_Outer=F
  84. Inner_Tbl_Restrict=F
  85. Optnl_Tbl_Restrict=F
  86. Non_Equi_Joins=F
  87. Outer_Tbl_List=F
  88. Outer_Syntax=F
  89. Optnl_Tbl_Filter=F
  90. Optnl_Tbl_Join_Filter=F
  91. Full_Non_Equi_Join=F
  92. On_Condition_Set_Functions=F
  93. On_Condition_Subqueries=F
  94. On_Condition_Not_Predicate=F
  95. On_Condition_In_Predicate=F
  96. On_Condition_Between_Predicate=F
  97. On_Condition_Like_Predicate=F
  98. On_Condition_IsNull_Predicate=F
  99. Full_Syntax=
  100. Cross_Syntax=
  101. Union_Syntax=
  102. Inner_Syntax=
  103. Natural_Syntax=
  104. Full_Pre=
  105. Full_Post=
  106. [Exceptions Predicates]
  107. [Exceptions Aggregates]
  108. Max="max"
  109. Min="min"
  110. Sum="sum"
  111. Avg="avg"
  112. Count_Non_Distinct=T
  113. Count_Value_Expr=T
  114. Count_Literal=T
  115. Count="count"
  116. Count_Star="count(*)"
  117. [Exceptions Set Operators]
  118. Distinct=
  119. Union="union"
  120. Union_All=T
  121. [Exceptions Set Operators INGRES6.4]
  122. Union=
  123. Union_All=F
  124. [Exceptions Operators]
  125. Neq=" <> "
  126. [Exceptions Value Expressions]
  127. Position=C
  128. Char_Length=F
  129. Lower=C
  130. Upper=C
  131. Strcat=C
  132. [Exceptions General]
  133. Multiple_Distinct=T
  134. Like_Value_Expr=T
  135. Count_Blob=F
  136. Is_Null_Value_Expr=T
  137. Order_By_Alias=F
  138. [Exceptions Literals]
  139. Date_Literal=C
  140. Date_Format_Str="DD MMM YYYY"
  141. Date_Literal_Str="date( '%s-%s-%s' )"
  142. Timestamp_Literal=C
  143. Timestamp_Format_Str="DD MMM YYYY HH MM SS"
  144. Timestamp_Literal_Str="date( '%s-%s-%s %s:%s:%s' )"
  145. Time_Literal=C
  146. Time_Format_Str="HH MM SS"
  147. Time_Literal_Str="'%s:%s:%s'"
  148. Interval_Literal=C
  149. Interval_Format_Str="DD HH MM SS"
  150. Interval_Literal_Str="date( '%s days %s hrs %s mins %s secs' )"
  151. Date_Add_Function_Str="?1 + ?2"
  152. Date_Sub_Function_Str="(?1 - ?2)"
  153. Zero_Date_Literal_Str="date('')"
  154. Zero_Timestamp_Literal_Str="date('')"
  155. [Exceptions Delimiters]
  156. ;
  157. ; Specifies the delimiter character for each name part.
  158. ;
  159. ; If a delimiter is set to nothing, then the database does not support the
  160. ; delimiting of that name part; otherwise, the specified string is used to
  161. ; delimit the corresponding name part.
  162. ;
  163. ; NOTE: if Wholename specified and not empty then this indicates that fully
  164. ; qualified names are delimited with this character;
  165. ; For example,
  166. ; "myCatalog.mySchema.myTable.myColumn"
  167. ;
  168. ; NOTE: for a double quote (") entry, specifies "\"".
  169. ;
  170. Catalog_Delimiter=
  171. Schema_Delimiter=
  172. Table_Delimiter=
  173. Column_Delimiter=
  174. Procedure_Delimiter=
  175. Wholename_Delimiter=
  176. [Exceptions Separators]
  177. ;
  178. ; Specifies the name separator that follows the type of name.
  179. ; [<catalog><catalogSeparator>][<schema><schemaSeparator>][<table><tableSeparator>][<column>]
  180. ; [<catalog><catalogSeparator>][<schema><schemaSeparator>][<procedure>]
  181. ;
  182. Catalog_Separator="."
  183. Schema_Separator="."
  184. Table_Separator="."
  185. [Operator Addition]
  186. Date=IV,TS
  187. Time=
  188. TimeStamp=IV,TS
  189. Interval=DT,TS:TS,TS:IV,IV
  190. [Operator Subtraction]
  191. Date=DT,IV:TS,IV:IV,TS
  192. Time=
  193. ;TimeStamp=DT,IV:TS,IV:IV,TS
  194. Interval=IV,IV
  195. [Operator Comparison]
  196. Date=DT,OK:TS,OK
  197. TimeStamp=DT,OK:TS,OK
  198. Interval=IV,OK
  199. [Builtin Functions]
  200. c:lower(%1c)=lowercase(%1);
  201. n:mod(%1n, %2n)=mod(%1, %2);
  202. n:position(%1c, %2c)=locate(%2, %1);
  203. c:upper(%1c)=uppercase(%1);
  204. c:cast_char(%1bcdints)=char(%1);
  205. c:cast_varchar(%1bcdints)=varchar(%1);
  206. d:cast_date(%1c)=date(%1);
  207. n:cast_float(%1bcn)=float8(%1);
  208. n:cast_integer(%1bcn)=int4(%1);
  209. n:cast_smallint(%1bcn)=int2(%1);
  210. c:coguda#concat(%1c, %2c)=concat(%1, %2);
  211. [Database Functions]
  212. n:abs(%1n)=abs(%1);
  213. n:exp(%1n)=exp(%1);
  214. bcdints:nullif(%1bcdints, %2bcdints)=ifnull(%1, %2);
  215. n:power(%1n, %2n)=%1**%2;
  216. n:sqrt(%1n)=sqrt(%1);
  217. c:trim(%1c)=trim(%1);
  218. [Gateway Environment]
  219. ;
  220. ; INGRES has only one data type for representing DATEs and INTERVALs.
  221. ; Therefore, the type of data stored in a DATE column is not known.
  222. ; In fact, you could store DATE and INTERVAL data within the same
  223. ; column. Typically, you would only store one type of data in a column.
  224. ; 'DATE COLUMNS' allows you to select the default data type for all
  225. ; INGRES DATE columns as
  226. ;
  227. ; TIMESTAMP (s), (default)
  228. ; DATE (d),
  229. ; INTERVAL (i), or
  230. ; CHAR (c).
  231. ;
  232. ; You can 'typecast' columns that do not conform to this default
  233. ; with these functions:
  234. ;
  235. ; ---------------------- ------------------------------------
  236. ; Function | Action
  237. ; ---------------------- ------------------------------------
  238. ; ig_date_as_interval | Treat column data as INTERVAL
  239. ; ig_date_as_char | Treat column data as CHAR
  240. ; ig_date_as_date | Treat column data as DATE
  241. ; ig_date_as_timestamp | Treat column data as absolute DATE
  242. ;
  243. DATE COLUMNS=s
  244. [UDA USER OPTIONS]
  245. Attach=