cogdmod_cs.ini 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. ;***********************************************************************
  2. ;Licensed Materials - Property of IBM
  3. ;
  4. ;BI and PM: UDA
  5. ;
  6. ;(C) Copyright IBM Corp. 2005, 2011
  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/composite/cogdmod_cs.ini#3 $
  21. ;
  22. ; Module:
  23. ; cogdmod_cs.ini
  24. ;
  25. ; Purpose:
  26. ; This module contains the Composite information.
  27. ;
  28. ; Notes:
  29. ; Do NOT modify this file. Doing so could result in unknown SQL
  30. ; being generated for composite, possibly resulting in application aborts.
  31. ; Relavent sections cloned from odbc35/generic_od/cogdmod.ini#15
  32. ;
  33. ; ************************************************************************
  34. [Database Functions]
  35. ;Each of the parameter is identified by "%" followed by the number,
  36. ; followed by the type . The types can be the following:
  37. ;"b" stands for boolean.
  38. ;"c" stands for character.
  39. ;"x" stands for text.
  40. ;"d" stands for date.
  41. ;"i" stands for the interval.
  42. ;"n" stands for the numeric.
  43. ;"s" stands for the timestamp.
  44. ;"t" stands for the time.
  45. ;"y" stands for time with time zone
  46. ;"z" stands for timestamp with time zone
  47. ;Numeric functions
  48. n:absolute(%1n)=ABS(%1);
  49. n:round(%1n,%2n)=round(%1,%2);
  50. ; ln( x ) = log(x)/log(e)
  51. n:ln(%1n)=(log(%1)*2.302585093);
  52. ; EE uses 'C' style % operator for local processing. This is equivalent.
  53. n:mod(%1n,%2n)=(ABS(%1)-ABS(FLOOR(ABS((%1)/(%2)))*(%2)))*(ABS(%1)/(%1));
  54. ;String functions
  55. n:char_length(%1cx)=LENGTH(%1);
  56. n:character_length(%1cx)=LENGTH(%1);
  57. c:substring(%1c, %2n, %3n)=SUBSTRING(%1, %2, %3);
  58. ; Date / Time functions
  59. s:Localtimestamp({%1n})=CURRENT_TIMESTAMP;
  60. t:localtime({%1n})=CURRENT_TIME;
  61. ; Convert functions
  62. c:to_char(%1cdnst)=TO_CHAR(%1);
  63. n:to_number(%1c)=TO_NUMBER(%1);
  64. d:to_date(%1c)=TO_DATE(%1);
  65. s:to_timestamp(%1c)=TO_TIMESTAMP(%1);
  66. [Builtin Functions]
  67. n:_round(%1n,%2n)=round(%1,%2);
  68. ; casts
  69. c:coguda#cast_char(%1sd,%2n)=CAST( TO_CHAR( %1 ) AS CHAR( %2 ));
  70. c:coguda#cast_char(%1nc,%2n)=CAST( %1 AS CHAR( %2 ));
  71. c:coguda#cast_varchar(%1sd,%2n)=CAST( TO_CHAR( %1) AS VARCHAR( %2 ));
  72. c:coguda#cast_varchar(%1nc,%2n)=CAST( %1 AS VARCHAR( %2 ));
  73. c:coguda#cast_nvarchar(%1nc,%2n)=CAST( %1 AS VARCHAR( %2 ));
  74. c:coguda#cast_nvarchar(%1sd,%2n)=CAST( TO_CHAR( %1) AS VARCHAR( %2 ));
  75. c:coguda#cast_nchar(%1nc,%2n)=CAST( %1 AS CHAR( %2 ));
  76. c:coguda#cast_nchar(%1sd,%2n)=CAST( TO_CHAR( %1 ) AS CHAR( %2 ));
  77. [Exceptions Aggregates]
  78. ; Entries added here affect all ODBC connections.
  79. ; For this reason overwrites should be added to subsections only.
  80. ; The entries below show the ODBC defaults.
  81. Avg="avg"
  82. Count="count"
  83. Count_star="count(*)"
  84. Max="max"
  85. Min="min"
  86. ; ravg
  87. ; rdiff
  88. ; rsum
  89. ; Stddev
  90. Sum="sum"
  91. ; Variance
  92. ; xmovingavg
  93. ; xmovingsum
  94. ; xntile
  95. ; xrank
  96. ; xratio
  97. ; xstddev
  98. ; xtertile
  99. ; xvariance
  100. [Exceptions Clauses]
  101. ; Entries added here affect all ODBC connections.
  102. ; For this reason overwrites should be added to subsections only.
  103. ; Group_By is set in the gateway using SQLGetInfo(SQL_GROUP_BY)
  104. ; The entries below show the ODBC defaults.
  105. From="from"
  106. Group_By="group by"
  107. Having="having"
  108. Where="where"
  109. With=""
  110. With_Recursive=""
  111. [Exceptions Clauses DATABASE:COMPOSITE VERSION:04.01]
  112. With=""
  113. [Exceptions Clauses DATABASE:COMPOSITE VERSION:03]
  114. With=""
  115. [Exceptions Commands]
  116. ; Entries added here affect all ODBC connections.
  117. ; For this reason overwrites should be added to subsections only.
  118. ; The entries below show the ODBC defaults.
  119. Call="call "
  120. Delete="delete "
  121. Insert="insert "
  122. Select="select "
  123. Update="update "
  124. [Exceptions Delimiters]
  125. ; Entries added here affect all ODBC connections.
  126. ; For this reason overwrites should be added to subsections only.
  127. ; The entries below show the ODBC defaults.
  128. Catalog_Delimiter="\""
  129. Schema_Delimiter="\""
  130. Table_Delimiter="\""
  131. Column_Delimiter="\""
  132. Procedure_Delimiter="\""
  133. Wholename_Delimiter=
  134. [Exceptions General]
  135. ; Entries added here affect all ODBC connections.
  136. ; For this reason overwrites should be added to subsections only.
  137. ; Correlated_Subqueries is set in the gateway using SQLGetInfo(SQL_SUBQUERIES)
  138. ; Nulls_Sort_Last is set in the gateway using SQLGetInfo(SQL_NULL_COLLATION)
  139. ; Subqueries is set in the gateway using SQLGetInfo(SQL_SUBQUERIES)
  140. ; Subquery_Column_Alias is set in the gateway using SQLGetInfo(SQL_SUBQUERIES and SQL_COLUMN_ALIAS)
  141. ; The entries below show the ODBC defaults.
  142. Aggregate_In_Expr=T
  143. Aggregate_Value_Expr=T
  144. Boolean_Comparison=F
  145. Correlated_Subqueries=T
  146. Count_Blob=F
  147. Count_Literal=T
  148. Count_Non_Distinct=T
  149. Count_Value_Expr=T
  150. Cross_Product=T
  151. Distinct_Aggregates=F
  152. Group_By_Expr=T
  153. Is_Null_Value_Expr=T
  154. Like_Value_Expr=T
  155. Multiple_Distinct=T
  156. ; Null=T
  157. Order_By_Alias=F
  158. Substring_On_Expr=T
  159. Subqueries=T
  160. Subquery_Column_Alias=F
  161. Integer_Division_Truncation=T
  162. Comments=F
  163. [Exceptions Joins]
  164. ; Entries added here affect all ODBC connections.
  165. ; For this reason overwrites should be added to subsections only.
  166. ; Full_Outer is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  167. ; Inner is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  168. ; Left_Eql is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  169. ; Left_Outer is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  170. ; Left_Post is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  171. ; Left_Pre is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  172. ; Right_Eql is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  173. ; Right_Nested is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  174. ; Right_Outer is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  175. ; Right_Post is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  176. ; Right_Pre is set in the gateway using SQLGetInfo(SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS)
  177. ; The entries below show the ODBC defaults.
  178. Cross=T
  179. Cross_Syntax=" CROSS JOIN "
  180. Full_Non_Equi_Join=F
  181. Full_Outer=T
  182. Full_Post=""
  183. Full_Pre=""
  184. Full_Syntax=" FULL OUTER JOIN "
  185. Inner=T
  186. Inner_Col_Post=""
  187. Inner_Col_Pre=""
  188. Inner_Syntax=" INNER JOIN "
  189. Inner_Tbl_Restrict=F
  190. Left_Eql=" LEFT OUTER JOIN "
  191. Left_Nested=F
  192. Left_Outer=T
  193. Left_Post=""
  194. Left_Pre=""
  195. Natural=F
  196. Natural_Syntax=""
  197. Nested_Outer=F
  198. Non_Equi_Joins=F
  199. One_Outer=F
  200. On_Condition_Between_Predicate=F
  201. On_Condition_In_Predicate=T
  202. On_Condition_IsNull_Predicate=T
  203. On_Condition_Like_Predicate=T
  204. On_Condition_Not_Predicate=T
  205. On_Condition_Or_Predicate=T
  206. On_Condition_Set_Functions=F
  207. On_Condition_Subqueries=T
  208. Optnl_Tbl_Filter=F
  209. Optnl_Tbl_Join_Filter=F
  210. Optnl_Tbl_Join_Restrict=F
  211. Outer_Tbl_List=F
  212. Optnl_Tbl_Restrict=T
  213. Outer_Syntax=T
  214. Right_Eql=" RIGHT OUTER JOIN "
  215. Right_Nested=T
  216. Right_Outer=T
  217. Right_Post=""
  218. Right_Pre=""
  219. Two_Sided_Join_Restrict=F
  220. Union_Syntax=""
  221. [Exceptions Literals]
  222. ; The entries below show the ODBC defaults.
  223. ; If the data source supports the call SQLGetTypeInfo
  224. ; then all the following flags will be over written by
  225. ; information retrieved from the data source.
  226. Alt_Date_Literal_Assignment=F
  227. Alt_Date_Literal_Between=F
  228. Alt_Date_Literal_Comparison=F
  229. Alt_Date_Literal_In=F
  230. Alt_Date_Literal_Insert_Value=F
  231. Alt_Date_Literal_Str=
  232. Alt_Interval_Literal_Str=
  233. Alt_Time_Literal_Str=
  234. Alt_Timestamp_Literal_Str=
  235. Boolean_Literal=F
  236. Date_Add_Function_Str=
  237. Date_Format_Str="YYYY MM DD"
  238. Date_Literal=C
  239. Date_Literal_Str="DATE '%s-%s-%s'"
  240. Date_Sub_Function_Str=
  241. False_Literal_Str=
  242. Interval_Format_Str=
  243. Interval_Literal=F
  244. Interval_Literal_Str=
  245. Time_Format_Str="HH MM SS"
  246. Time_Literal=C
  247. Time_Literal_Str="TIME '%s:%s:%s'"
  248. TimeTZ_Format_Str=
  249. TimeTZ_Literal=F
  250. TimeTZ_Literal_Str=
  251. Timestamp_Format_Str="YYYY MM DD HH MM SS"
  252. Timestamp_Literal=C
  253. Timestamp_Literal_Str="TIMESTAMP '%s-%s-%s %s:%s:%s'"
  254. TimestampTZ_Format_Str=
  255. TimestampTZ_Literal=F
  256. TimestampTZ_Literal_Str=
  257. True_Literal_Str=
  258. Unknown_Literal_Str=
  259. Zero_Date_Literal_Str=
  260. Zero_Timestamp_Literal_Str=
  261. [Exceptions Operators]
  262. ; Entries added here affect all ODBC connections.
  263. ; For this reason overwrites should be added to subsections only.
  264. ; The entries below show the ODBC defaults.
  265. Add="+"
  266. And="and"
  267. Div="/"
  268. Eql="="
  269. Geq=">="
  270. Grt=">"
  271. Leq="<="
  272. Les="<"
  273. Mul="*"
  274. ;Neg="-"
  275. Neq="<>"
  276. Not="not"
  277. Or="or"
  278. Sub="-"
  279. [Exceptions Predicates]
  280. ; Entries added here affect all ODBC connections.
  281. ; For this reason overwrites should be added to subsections only.
  282. ; The entries below show the ODBC defaults.
  283. All=
  284. Any=
  285. Between=
  286. Exists=
  287. [Exceptions Separators]
  288. ; Entries added here affect all ODBC connections.
  289. ; For this reason overwrites should be added to subsections only.
  290. ; Catalog_Separator is set in the gateway using SQLGetInfo(SQL_QUALIFIER_NAME_SEPARATOR)
  291. ; Schema_Separator is set in the gateway using SQLGetInfo(SQL_QUALIFIER_NAME_SEPARATOR)
  292. ; only if SQLGetInfo(SQL_OWNER_TERM) indicates the data source does not support schemas.
  293. ; The entries below show the ODBC defaults.
  294. Catalog_Separator="."
  295. Schema_Separator="."
  296. Table_Separator="."
  297. [Exceptions Set Operators]
  298. ; Entries added here affect all ODBC connections.
  299. ; For this reason overwrites should be added to subsections only.
  300. ; Union is set in the gateway using SQLGetInfo(SQL_UNION)
  301. ; Union_All is set in the gateway using SQLGetInfo(SQL_UNION)
  302. ; The entries below show the ODBC defaults.
  303. Distinct="distinct"
  304. Except=
  305. Except_All=F
  306. Intersect=
  307. Intersect_All=F
  308. ;Order_By=
  309. Union=
  310. Union_All=F
  311. [Exceptions Tables]
  312. ; Entries added here affect all ODBC connections.
  313. ; For this reason overwrites should be added to subsections only.
  314. ; The entries below show the ODBC defaults.
  315. Derived=T
  316. Joined=T
  317. Simple=T
  318. UniqueName_Prefix="coguda"
  319. [Exceptions Value Expressions]
  320. ; Entries added here affect all ODBC connections.
  321. ; For this reason overwrites should be added to subsections only.
  322. ; Cast is set in the gateway using SQLGetInfo(SQL_CONVERT_FUNCTIONS)
  323. ; Lower is set in the gateway using SQLGetInfo(SQL_STRING_FUNCTIONS)
  324. ; Position is set in the gateway using SQLGetInfo(SQL_STRING_FUNCTIONS)
  325. ; StrCat is set in the gateway using SQLGetInfo(SQL_STRING_FUNCTIONS)
  326. ; Substring is set in the gateway using SQLGetInfo(SQL_STRING_FUNCTIONS)
  327. ; Upper is set in the gateway using SQLGetInfo(SQL_STRING_FUNCTIONS)
  328. ; The entries below show the ODBC defaults.
  329. Bit_Length=F
  330. Case=T
  331. Case_Simple=T
  332. Case_Searched=T
  333. Cast=C
  334. Coalesce=F
  335. Extract=F
  336. Nullif=F
  337. Octet_Length=F
  338. Position=F
  339. ;Date / Time functions
  340. Current_Date=T
  341. Current_Time=F
  342. Current_Timestamp=F
  343. LocalTimeStamp=C
  344. LocalTime=C
  345. ; The following date functions are supported by Composite, but they are also
  346. ; reserved keywords so have to be used with {} around, e.g. select {day(orderDate)}
  347. ;DAY, MONTH, YEAR
  348. ;String functions
  349. Char_Length=C
  350. Lower=T
  351. StrCat=T
  352. Substring=C
  353. Trim=F
  354. Upper=T
  355. ;Numeric functions
  356. Ln=C
  357. Mod=C
  358. Abs=C
  359. Ceiling=T
  360. Floor=T
  361. Power=T
  362. Sqrt=T
  363. Exp=T
  364. ; The followin numeric functions supported by Composite will be pushed down
  365. ; either as {fn funcName}, e.g. select {Cos(30)} as c1, or as "fn funcName",
  366. ; e.g. select Cos (30) as c1.
  367. ;Acos
  368. ;Asin
  369. ;Atan
  370. ;Cos
  371. ;Cot
  372. ;Degrees
  373. ;Log
  374. ;Pi
  375. ;Radians
  376. ;Sin
  377. ;Tan
  378. [Operator Addition]
  379. Date=
  380. Timestamp=
  381. Time=
  382. Interval=
  383. [Operator Subtraction]
  384. Date=
  385. Time=
  386. Timestamp=
  387. Interval=
  388. ; From this point on this ini file contains entries pertaining to
  389. ; the operation of the gateway through the ODBC driver being used.
  390. ; The section name used to set entries for a particular driver
  391. ; consists of the driver name with a possible driver version.
  392. ; (ie: DRIVER:<DRIVER_NAME>[ VERSION:<DRIVER_VERSION>] )
  393. ; The section name used to set entries for a particular database
  394. ; consists of the database name with a possible database version.
  395. ; (ie: DATABASE:<DATABASE_NAME>[ VERSION:<DATABASE_VERSION>] )
  396. ; To get the... The gateway uses...
  397. ; driver_name SQLGetInfo(SQL_DRIVER_NAME)
  398. ; driver_version SQLGetInfo(SQL_DRIVER_VER)
  399. ; database_name SQLGetInfo(SQL_DBMS_NAME)
  400. ; database_version SQLGetInfo(SQL_DBMS_VER)
  401. ; All entries are terminated with a semi comma character.
  402. ; The possible exceptions, listed alphabetical for easy lookup,
  403. ; that can be set are...
  404. ; Keyword Ascending=<literal>;
  405. ; If given, the default ascending keyword, "asc" will be replaced
  406. ; with this literal. For some drivers this keyword is optional or
  407. ; invalid, an blank entry will remove the keyword.
  408. ; Convert To Blob Limit=<number>;
  409. ; The number will indicate the size limit for LongVarChar and
  410. ; LongVarBinary data. If the data size is greater then the
  411. ; specified size the data type will be treated as blob data.
  412. ; By default the size limit is 32K.
  413. ; Cursor Type for Deletes=[FORWARD|STATIC|KEYSET|DYNAMIC];
  414. ; If given, this cursor type will be used for delete
  415. ; statements instead of the default cursor type for
  416. ; the data source. For definitions of the different cursor
  417. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  418. ; function in the ODBC manual.
  419. ; Cursor Type for Inserts=[FORWARD|STATIC|KEYSET|DYNAMIC];
  420. ; If given, this cursor type will be used for insert
  421. ; statements instead of the default cursor type for
  422. ; the data source. For definitions of the different cursor
  423. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  424. ; function in the ODBC manual.
  425. ; Cursor Type for Metadata=[FORWARD|STATIC|KEYSET|DYNAMIC];
  426. ; If given, this cursor type will be used for metadata
  427. ; statements instead of the default cursor type for
  428. ; the data source. For definitions of the different cursor
  429. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  430. ; function in the ODBC manual.
  431. ; Cursor Type for Procedures=[FORWARD|STATIC|KEYSET|DYNAMIC];
  432. ; If given, this cursor type will be used for procedure
  433. ; statements instead of the default cursor type for
  434. ; the data source. For definitions of the different cursor
  435. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  436. ; function in the ODBC manual.
  437. ; Cursor Type for Selects=[FORWARD|STATIC|KEYSET|DYNAMIC];
  438. ; If given, this cursor type will be used for select
  439. ; statements instead of the default cursor type for
  440. ; the data source. For definitions of the different cursor
  441. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  442. ; function in the ODBC manual.
  443. ; Cursor Type for Updates=[FORWARD|STATIC|KEYSET|DYNAMIC];
  444. ; If given, this cursor type will be used for update
  445. ; statements instead of the default cursor type for
  446. ; the data source. For definitions of the different cursor
  447. ; types refer to the SQLSetStmtOption(SQL_CURSOR_TYPE)
  448. ; function in the ODBC manual.
  449. ; Date Format=<date format>;
  450. ; If given, the default date format, YYYY MM DD, will be
  451. ; replaced with <date format>. The ODBC driver or underlying
  452. ; database must understand the date format.
  453. ; Date literal=<double quoted single quoted string>;
  454. ; If given, the default ODBC date conversion, "{d '%s-%s-%s'}",
  455. ; will be replaced with a literal date string. For some drivers,
  456. ; ODBC date literals are converted into function calls and may
  457. ; cause the database optimizer to use table scan instead of index scan,
  458. ; impacting performance. So alternate literal date string can be
  459. ; used if the default ODBC date conversion is not desired.
  460. ; Disable Transaction Support=[T|F];
  461. ; If set to T, transaction support is disabled and the drivers
  462. ; auotcommit option will be in effect. This option sets the
  463. ; transaction isolation level to SQL_TXN_SERIALIZABLE, meaning
  464. ; dirty reads, nonrepeatable reads and phantom reads will not
  465. ; be possible.
  466. ; Optimize For=<numeric value>;
  467. ; If a numeric value greater then zero is given, "OPTIMIZE FOR n ROWS" clause will
  468. ; be appended to the select statements ( n being equal to the numeric value and the
  469. ; number of rows to optimize for ). This option can improve performance based on the
  470. ; assumption that <n> rows will be retrieved and causes a suitable communication
  471. ; buffer size to be chosen for blocked cursors.
  472. ; Procedure Cursors=T|F
  473. ; When set to T, sqlfeatures will report that procedure cursors are supported.
  474. ; For databases that have result set pending after SQLExecute of a {call ..}
  475. ; statement, this entry should be set to T.
  476. ; Qualified Synonyms are not supported=[T|F]
  477. ; If set to T, the database doesn't supported qualified synonyms.
  478. ; Replace Count Non-Distinct=[T|F];
  479. ; If set to T, the count(value) expression will be replaced by count(*).
  480. ; Note, that this is NOT semantically equivalent: count(*) may count NULL
  481. ; values whereas count(value) does not.
  482. ; Select For Fetch Only=[T|F];
  483. ; If set to T, "FOR FETCH ONLY" will be appended to select statements.
  484. ; This option can work around quirks on the server by turning on
  485. ; journalling or improve performance by affecting the locking strategy.
  486. ; Select For Update Disabled=[T|F];
  487. ; If set to T, "FOR UPDATE" will not be allowed in SELECT statements.
  488. ; System View Supported=[T|F];
  489. ; If set to F, 'SYSTEM VIEW' is not passed to SQL table. A few driver
  490. ; treat the unsupported table type as an error
  491. ; System Synonym Supported=[T|F];
  492. ; If set to F, 'SYSTEM SYNONYM' is not passed to SQL table. A few driver
  493. ; treat the unsupported table type as an error
  494. ; System Alias Supported=[T|F];
  495. ; If set to F, 'SYSTEM ALIAS' is not passed to SQL table. A few driver
  496. ; treat the unsupported table type as an error
  497. ; Time format=<time format>;
  498. ; If given, the default time format, HH MM SS, will be
  499. ; replaced with <time format>. The ODBC driver or underlying
  500. ; database must understand the time format.
  501. ; Time literal=<double quoted string>;
  502. ; If given, the default ODBC time conversion, "{t '%s:%s:%s'}",
  503. ; will be replaced with a literal time string. For some drivers,
  504. ; ODBC time literals are converted into function calls and may
  505. ; cause the database optimizer to use table scan instead of index scan,
  506. ; impacting performance. So alternate literal time string can
  507. ; be used if the default ODBC time conversion is not desired.
  508. ; Timestamp format=<timestamp format>;
  509. ; If given, the default timestamp format, YYYY MM DD HH MM SS FFF,
  510. ; will be replaced with <timestamp format>. The ODBC driver or
  511. ; underlying database must understand the timestamp format.
  512. ; Timestamp literal=<double quoted string>;
  513. ; If given, the default ODBC timestamp conversion, "{ts '%s-%s-%s %s:%s:%s'}",
  514. ; will be replaced with a literal timestamp string. For some drivers
  515. ; ODBC timestamp literals are converted into function calls and may
  516. ; cause the database optimizer to use table scan instead of index scan,
  517. ; impacting performance. So alternate literal timestamp string can
  518. ; be used if the default ODBC timestamp conversion is not desired.
  519. ; Treat Integers as Signed=[T|F];
  520. ; If set to T all integers will be treated as signed integers.
  521. ; If set to F all integers will be treated as unsigned integers.
  522. ; If not set the sign of each integer will be described by the driver.
  523. ; The return value for any of the options for ODBC's SQLGetInfo call can be
  524. ; overwritten by specifying an alternate value. Please ensure that the
  525. ; values specified for the options are acceptable, otherwise, unexpected
  526. ; behaviour of the ODBC gateway might result. To add an .ini entry,
  527. ; specify the SQLGetInfo option which you wish to modify, and equate it to
  528. ; the desired (and appropriate) value.
  529. ; Currently the ODBC define names can not be used, you must use the
  530. ; define values, this will eventually change.
  531. ; (ie: If the driver incorrectly tells us that all columns are nullable,
  532. ; we must use the entry SQL_NON_NULLABLE_COLUMNS=1 to force columns to
  533. ; be non-nullable not SQL_NON_NULLABLE_COLUMNS=SQL_NNC_NON_NULL )
  534. ; The return value for any of the options for SQLGetFunctions call can be
  535. ; overwritten by specifying an alternate value. Please ensure that the
  536. ; values specified for the options are acceptable, otherwise, unexpected
  537. ; behaviour of the ODBC gateway might result. To add an .ini entry,
  538. ; specify the SQLGetFunctions option which you wish to modify, and equate
  539. ; it to the desired (and appropriate) value. The only values that are
  540. ; acceptable for SQLGetFunctions are TRUE and FALSE.
  541. ; (ie: To use the alternate metadata retrieval method we would set
  542. ; SQL_API_SQLCOLUMNS=FALSE thus saying the driver does not support
  543. ; the SQLColumns function. The gateway would then use "Select * from" )
  544. ; The entries below are listed alphabetical for easy lookup.
  545. ; All entries are double quoted strings.
  546. ; to retrieve blobs with views we must use a forward only cursor
  547. ;Cursor Type for Selects="FORWARD"
  548. [DATABASE:COMPOSITE]
  549. ; composite does note support the ODBC syntax for when calling ODBC functions
  550. Function Esc Prefix=" "
  551. Function Esc Suffix=" "
  552. SQL_TIMEDATE_FUNCTIONS="0"
  553. ;
  554. ; Operations supported and results of the supported operation.
  555. ; The format is;
  556. ; [Operator <operator name>]
  557. ; <LHS>=<RHS>,<RES>{:<RHS>,<RES>}
  558. ;
  559. ; where
  560. ;
  561. ; LHS = data type of left hand side of operation
  562. ; RHS = data type of right hand side of operation
  563. ; RES = result data type of operation
  564. ;
  565. ; LHS, RHS and RES values may be one of:
  566. ;
  567. ; Name Abbreviation DMS Data Type
  568. ; CHAR CH sqlChar
  569. ; VARCHAR VC sqlVarChar
  570. ; LVARCHAR LC sqlLongVarChar
  571. ; NCHAR NC sqlNChar
  572. ; NVARCHAR NV sqlNVarChar
  573. ; BINARY BN sqlBinary
  574. ; VARBINARY VB sqlVarBinary
  575. ; BOOLEAN BO sqlBoolean
  576. ; SMALLINT SM sqlSmallInt
  577. ; INTEGER IT sqlInteger
  578. ; QUAD QD sqlQuad
  579. ; DECIMAL DM sqlDecimal
  580. ; NUMERIC NU sqlNumeric
  581. ; FLOAT FL sqlFloat
  582. ; DOUBLE DB sqlDouble
  583. ; DATE DT sqlDate
  584. ; TIME TM sqlTime
  585. ; TIMESTAMP TS sqlDateTime
  586. ; INTERVAL IV sqlInterval
  587. ; TIME_TZ TT sqlTimeTZ
  588. ; TIMESTAMP_TZ TZ sqlTimestampTZ
  589. ; INTERVAL_YM IY sqlIntervalYM
  590. ; ---- NA sqlUnknownType
  591. ;
  592. [Operator Cast]
  593. AD=QD,NA:IV,NA:IY,NA