cogdmod_rb.ini 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  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: $
  21. ;
  22. ; Module:
  23. ; cogdmod_rb.ini
  24. ;
  25. ; Purpose:
  26. ; This module contains the redbrick SQL information.
  27. ;
  28. ; Notes:
  29. ; Do NOT modify this file. Doing so could result in unknown SQL
  30. ; being generated for redbrick, possibly resulting in application aborts.
  31. ;
  32. ; This file is cloned from cogdmod_redbrick.ini version 49. Any change
  33. ; after that must be propagated by into this one. XC // TODO
  34. ;
  35. ; ************************************************************************
  36. [Builtin Functions]
  37. ;
  38. ; Business Functions for Date Calculations
  39. ;
  40. d:_add_days(%1d,%2n)=DATEADD( DAY, %2, %1 );
  41. s:_add_days(%1s,%2n)=DATEADD( DAY, %2, %1 );
  42. d:_add_months(%1d,%2n)=DATEADD( MONTH, %2, %1 );
  43. s:_add_months(%1s,%2n)=DATEADD( MONTH, %2, %1 );
  44. d:_add_years(%1d,%2n)=DATEADD( YEAR, %2, %1 );
  45. s:_add_years(%1s,%2n)=DATEADD( YEAR, %2, %1 );
  46. n:_days_between(%1ds,%2ds)=DATEDIFF( DAY, %1, %2 );
  47. n:_months_between(%1ds,%2ds)=DATEDIFF( MONTH, %1, %2 );
  48. n:_years_between(%1ds,%2ds)=DATEDIFF( YEAR, %1, %2 );
  49. n:_days_to_end_of_month(%1ds)=DATEDIFF( DAY, DATEADD( DAY, -1, DATEADD( MONTH, 1, DATEADD( DAY, 1 - DATEPART( DAY, %1 ), %1 ) ) ), %1 );
  50. n:_age(%1ds)=;
  51. d:_first_of_month(%1d)=DATEADD( DAY, -DATEPART( DAY, %1 ) + 1, %1 );
  52. s:_first_of_month(%1s)=DATEADD( DAY, -DATEPART( DAY, %1 ) + 1, %1 );
  53. d:_last_of_month(%1d)=DATEADD( DAY, -1, DATEADD( MONTH, 1, DATEADD( DAY, -DATEPART( DAY, %1 ) + 1, %1 ) ) );
  54. s:_last_of_month(%1s)=DATEADD( DAY, -1, DATEADD( MONTH, 1, DATEADD( DAY, -DATEPART( DAY, %1 ) + 1, %1 ) ) );
  55. s:_make_timestamp(%1n,%2n,%3n)=DATEADD( YEAR, (%1) - 1, DATEADD( MONTH, (%2) - 1, DATEADD( DAY, (%3) - 1, TIMESTAMP '0001-01-01 00:00:00' ) ) );
  56. n:_ymdint_between(%1ds,%2ds)=;
  57. n:_day_of_year(%1ds)=EXTRACT( DAYOFYEAR FROM %1 );
  58. n:_week_of_year(%1ds)=;
  59. n:_day_of_week(%1ds, %2n)=;
  60. ;
  61. ; Additional Business Functions for Date Calculations
  62. ;
  63. s:_add_hours(%1s,%2n)=DATEADD( HOUR, %2, %1 );
  64. t:_add_hours(%1t,%2n)=DATEADD( HOUR, %2, %1 );
  65. s:_add_minutes(%1s,%2n)=DATEADD( MINUTE, %2, %1 );
  66. t:_add_minutes(%1t,%2n)=DATEADD( MINUTE, %2, %1 );
  67. s:_add_seconds(%1s,%2n)=DATEADD( SECOND, %2, %1 );
  68. t:_add_seconds(%1t,%2n)=DATEADD( SECOND, %2, %1 );
  69. n:_hours_between(%1ds,%2ds)=DATEDIFF( HOUR, %2, %1 );
  70. n:_minutes_between(%1ds,%2ds)=DATEDIFF( MINUTE, %2, %1 );
  71. n:_seconds_between(%1ds,%2ds)=DATEDIFF( SECOND, %2, %1 );
  72. c:trim_both_spaces(%1c)=TRIM(%1);
  73. c:trim_leading_spaces(%1c)=LTRIM(%1);
  74. c:trim_trailing_spaces(%1c)=RTRIM(%1);
  75. [Database Functions]
  76. n:ceiling(%1n)=CEIL(%1);
  77. t:localtime()=CURRENT_TIME;
  78. t:localtime(%1n)=CURRENT_TIME(%1);
  79. s:localtimestamp()=CURRENT_TIMESTAMP;
  80. s:localtimestamp(%1n)=CURRENT_TIMESTAMP(%1);
  81. n:cume(%1n)=CUME(%1);
  82. n:ntile(%1n,%2n)=NTILE(%1,%2);
  83. n:rank(%1n)=RANK(%1);
  84. c:substring(%1c, %2n {,%3n})=SUBSTR(%1, %2 {,%3});
  85. n:position(%1c,%2c)=POSITION(%1,%2);
  86. n:octet_length(%1c)=LENGTHB(%1);
  87. c:coguda#concat(%1c,%2c)=CONCAT(%1, %2);
  88. c:coguda#concat(%1bdints,%2bdints)=CONCAT(%1, %2);
  89. n:char_length(%1c)=LENGTH(%1);
  90. n:_round(%1n, %2n)=ROUND(%1, %2);
  91. n:round(%1n, %2n)=ROUND(%1, %2);
  92. n:power(%1n,%2n)=exp((%2) * ln((%1)));
  93. c:cast_char(%1bdints {, %2n {, %3n }})=LTRIM(STRING(%1 {, %2 {, %3}}));
  94. d:cast_date(%1dcs)=DATE(%1);
  95. n:cast_decimal(%1cn)=DECIMAL(%1 {, %2 {, %3}});
  96. n:cast_float(%1bcn)=FLOAT(%1);
  97. n:cast_integer(%1bcn)=INTEGER(%1);
  98. n:cast_real(%1nc)=REAL(%1);
  99. t:cast_time(%1cs)=TIME(%1);
  100. s:cast_timestamp(%1cdt {, %2t})=TIMESTAMP(%1 {, %2});
  101. d:date(%1cds)=DATE(%1);
  102. ;
  103. ; CAST Functions
  104. ;
  105. c:coguda#cast_char(%1n, %2n)=LTRIM(STRING(%1, ( %2 + 1 ) ));
  106. c:coguda#cast_char(%1bdits,%2n)=LTRIM(STRING(%1, %2));
  107. d:coguda#cast_date(%1dcs)=DATE(%1);
  108. n:coguda#cast_decimal(%1cn {, %2n {, %3n }})=DECIMAL(%1 {, %2 {, %3}});
  109. n:coguda#cast_integer(%1bcn)=INTEGER(%1);
  110. n:coguda#cast_float(%1bcn)=REAL(%1);
  111. n:coguda#cast_double_precision(%1bcn)=FLOAT(%1);
  112. t:coguda#cast_time(%1cst)=TIME(%1);
  113. s:coguda#cast_timestamp(%1cs)=TIMESTAMP(%1);
  114. s:coguda#cast_timestamp(%1d)=TIMESTAMP(%1, \{ t '00:00:00'\});
  115. s:coguda#cast_timestamp(%1t)=TIMESTAMP(CURRENT_DATE, %1);
  116. ;Functions required to cast division of integer/numeric to a floating point
  117. n:coguda#_division_cast_float(%1bcn)=REAL(%1);
  118. n:coguda#_division_cast_double_precision(%1bcn)=FLOAT(%1);
  119. [Database Functions Version:6.20]
  120. n:_round(%1n, %2n)=FLOOR( (%1) * EXP( (%2) * LN(10)) + 0.5 ) / EXP( (%2) * LN(10) );
  121. n:round(%1n, %2n)=FLOOR( (%1) * EXP( (%2) * LN(10)) + 0.5 ) / EXP( (%2) * LN(10) );
  122. [Exceptions Aggregates]
  123. Avg="avg"
  124. Count="count"
  125. Count_star="count(*)"
  126. Max="max"
  127. Min="min"
  128. Sum="sum"
  129. [Exceptions OLAP Functions]
  130. Olap_Max="max"
  131. Olap_Min="min"
  132. Olap_Sum="sum"
  133. Olap_Avg="avg"
  134. Olap_Count="count"
  135. Olap_Count_Star="count(*)"
  136. Olap_Stddev_Pop=
  137. Olap_Var_Pop=
  138. Olap_Stddev_Samp=
  139. Olap_Var_Samp=
  140. Olap_Rank="rank"
  141. Olap_Dense_Rank="dense_rank"
  142. Olap_Percent_Rank="percent_rank"
  143. Olap_Cume_Dist="cume_dist"
  144. Olap_Row_Number="row_number"
  145. Olap_Ratio_To_Report="ratio_to_report"
  146. Olap_Ntile="ntile"
  147. [Exceptions OLAP Functions Version:6.0]
  148. Olap_Max=
  149. Olap_Min=
  150. Olap_Sum=
  151. Olap_Avg=
  152. Olap_Count=
  153. Olap_Count_Star=
  154. Olap_Stddev_Pop=
  155. Olap_Var_Pop=
  156. Olap_Stddev_Samp=
  157. Olap_Var_Samp=
  158. Olap_Rank=
  159. Olap_Dense_Rank=
  160. Olap_Percent_Rank=
  161. Olap_Cume_Dist=
  162. Olap_Row_Number=
  163. Olap_Ratio_To_Report=
  164. Olap_Ntile=
  165. [Exceptions OLAP Functions Version:6.1]
  166. Olap_Max=
  167. Olap_Min=
  168. Olap_Sum=
  169. Olap_Avg=
  170. Olap_Count=
  171. Olap_Count_Star=
  172. Olap_Stddev_Pop=
  173. Olap_Var_Pop=
  174. Olap_Stddev_Samp=
  175. Olap_Var_Samp=
  176. Olap_Rank=
  177. Olap_Dense_Rank=
  178. Olap_Percent_Rank=
  179. Olap_Cume_Dist=
  180. Olap_Row_Number=
  181. Olap_Ratio_To_Report=
  182. Olap_Ntile=
  183. [Exceptions OLAP Functions Version:6.11]
  184. Olap_Max=
  185. Olap_Min=
  186. Olap_Sum=
  187. Olap_Avg=
  188. Olap_Count=
  189. Olap_Count_Star=
  190. Olap_Stddev_Pop=
  191. Olap_Var_Pop=
  192. Olap_Stddev_Samp=
  193. Olap_Var_Samp=
  194. Olap_Rank=
  195. Olap_Dense_Rank=
  196. Olap_Percent_Rank=
  197. Olap_Cume_Dist=
  198. Olap_Row_Number=
  199. Olap_Ratio_To_Report=
  200. Olap_Ntile=
  201. [Exceptions OLAP Functions Version:6.20]
  202. Olap_Percent_Rank=
  203. Olap_Cume_Dist=
  204. [Exceptions Clauses]
  205. From="from"
  206. Group_By="group by"
  207. Having="having"
  208. Where="where"
  209. [Exceptions Commands]
  210. Call="call "
  211. Delete="delete "
  212. Insert="insert "
  213. Select="select "
  214. Update="update "
  215. [Exceptions Delimiters]
  216. Catalog_Delimiter="\""
  217. Schema_Delimiter="\""
  218. Table_Delimiter="\""
  219. Column_Delimiter="\""
  220. Procedure_Delimiter="\""
  221. Wholename_Delimiter=""
  222. [Exceptions General]
  223. Aggregate_In_Expr=T
  224. Aggregate_Value_Expr=T
  225. Boolean_Comparison=F
  226. Correlated_Subqueries=T
  227. Count_Blob=F
  228. Count_Non_Distinct=T
  229. Count_Value_Expr=T
  230. Count_Literal=T
  231. Cross_Product=T
  232. Distinct_Aggregates=T
  233. Group_By_Alias=T
  234. Group_By_Expr=T
  235. Is_Null_Value_Expr=T
  236. Is_Null_Value_Parm=F
  237. Like_Value_Expr=T
  238. Multiple_Distinct=T
  239. ; Null=T
  240. Nulls_Sort_Last=T
  241. Subqueries=T
  242. Subquery_Column_Alias=T
  243. Subquery_In_Aggregate=T
  244. Substring_On_Expr=T
  245. Order_By_Alias=F
  246. Olap_Null_Order=T
  247. Comments=F
  248. [Exceptions General Version:6.20]
  249. Group_By_Expr=F
  250. [Exceptions Joins]
  251. Cross=T
  252. Cross_Syntax=" CROSS JOIN "
  253. Full_Non_Equi_Join=F
  254. Full_Outer=T
  255. Full_Post=""
  256. Full_Pre=""
  257. Full_Syntax=" FULL OUTER JOIN "
  258. Inner=T
  259. Inner_Col_Post=""
  260. Inner_Col_Pre=""
  261. Inner_Syntax=" INNER JOIN "
  262. Inner_Tbl_Restrict=F
  263. Left_Eql=" LEFT OUTER JOIN "
  264. Left_Nested=T
  265. Left_Outer=T
  266. Left_Post=""
  267. Left_Pre=""
  268. Natural=T
  269. Natural_Syntax=" NATURAL JOIN "
  270. Nested_Outer=T
  271. Non_Equi_Joins=F
  272. Non_Join_Expr=T
  273. Non_Join_Non_Equi_Expr=F
  274. On_Condition_Between_Predicate=F
  275. On_Condition_In_Predicate=F
  276. On_Condition_IsNull_Predicate=F
  277. On_Condition_Like_Predicate=F
  278. On_Condition_Not_Predicate=F
  279. On_Condition_Set_Functions=F
  280. On_Condition_Subqueries=T
  281. One_Outer=F
  282. Optnl_Tbl_Filter=T
  283. Optnl_Tbl_Join_Filter=T
  284. Optnl_Tbl_Join_Restrict=F
  285. Outer_Tbl_List=F
  286. Optnl_Tbl_Restrict=F
  287. Outer_Syntax=T
  288. Right_Eql=" RIGHT OUTER JOIN "
  289. Right_Nested=T
  290. Right_Outer=T
  291. Right_Post=""
  292. Right_Pre=""
  293. Two_Sided_Join_Restrict=F
  294. Union_Syntax=""
  295. Outer_Non_Equi_Join=F
  296. [Exceptions Literals]
  297. Alt_Date_Literal_Assignment=F
  298. Alt_Date_Literal_Between=F
  299. Alt_Date_Literal_Comparison=F
  300. Alt_Date_Literal_In=F
  301. Alt_Date_Literal_Insert_Value=F
  302. Alt_Date_Literal_Str=
  303. Alt_Interval_Literal_Str=
  304. Alt_Time_Literal_Str=
  305. Alt_Timestamp_Literal_Str=
  306. Boolean_Literal=F
  307. Date_Add_Function_Str=
  308. Date_Format_Str="YYYY MM DD"
  309. Date_Literal=T
  310. Date_Literal_Str="'%s-%s-%s'"
  311. Date_Sub_Function_Str=
  312. False_Literal_Str=
  313. Interval_Format_Str=
  314. Interval_Literal=F
  315. Interval_Literal_Str=
  316. IntervalYM_Format_Str=
  317. IntervalYM_Literal=F
  318. IntervalYM_Literal_Str=
  319. Time_Format_Str="HH MM SS FFFFFF"
  320. Time_Literal=C
  321. Time_Literal_Str="{t '%s:%s:%s.%s'}"
  322. TimeTZ_Format_Str=
  323. TimeTZ_Literal=F
  324. TimeTZ_Literal_Str=
  325. Timestamp_Format_Str="YYYY MM DD HH MM SS FFFFFF"
  326. Timestamp_Literal=C
  327. Timestamp_Literal_Str="{ts '%s-%s-%s %s:%s:%s.%s'}"
  328. TimestampTZ_Format_Str=
  329. TimestampTZ_Literal=F
  330. TimestampTZ_Literal_Str=
  331. True_Literal_Str=
  332. Unknown_Literal_Str=
  333. Zero_Date_Literal_Str=
  334. Zero_Timestamp_Literal_Str=
  335. [Exceptions Operators]
  336. Add="+"
  337. And="and"
  338. Div="/"
  339. Eql="="
  340. Geq=">="
  341. Grt=">"
  342. Leq="<="
  343. Les="<"
  344. Mul="*"
  345. ;Neg="-"
  346. Neq="<>"
  347. Not="not"
  348. Or="or"
  349. Sub="-"
  350. [Exceptions Predicates]
  351. All="all"
  352. Exists="exists "
  353. [Exceptions Separators]
  354. Catalog_Separator=" "
  355. Schema_Separator="."
  356. Table_Separator="."
  357. [Exceptions Set Operators]
  358. Distinct="distinct"
  359. Except=" except "
  360. Except_All=T
  361. Intersect="intersect"
  362. Intersect_All=T
  363. ;Order_By=
  364. Union="union"
  365. Union_All=T
  366. [Exceptions Tables]
  367. Derived=T
  368. Joined=T
  369. Simple=T
  370. UniqueName_Prefix="coguda"
  371. [Exceptions Value Expressions]
  372. Bit_Length=F
  373. Case=T
  374. Cast=C
  375. Char_Length=C
  376. Coalesce=T
  377. Extract=T
  378. Lower=T
  379. Nullif=T
  380. Octet_Length=C
  381. Position=C
  382. StrCat=C
  383. Substring=C
  384. Upper=T
  385. Current_Date=T
  386. Current_Time=F
  387. Current_Timestamp=F
  388. Localtime=C
  389. Localtimestamp=C
  390. Abs=T
  391. Ceiling=C
  392. Exp=T
  393. Floor=T
  394. ln=T
  395. Sqrt=T
  396. Trim=F
  397. Trim_Both_Spaces=C
  398. Trim_Leading_Spaces=C
  399. Trim_Trailing_Spaces=C
  400. Power=C
  401. Mod=F
  402. [Exceptions Value Expressions Version:6.0]
  403. Position=F
  404. [Exceptions Blob Expressions]
  405. Blob_In_Substring=T
  406. Blob_In_Trim=F
  407. [Exceptions Misc]
  408. Session_Sort_Order=T
  409. ;
  410. ; Operations supported and results of the supported operation.
  411. ; The format is;
  412. ; [Operator <operator name>]
  413. ; <LHS>=<RHS>,<RES>{:<RHS>,<RES>}
  414. ;
  415. ; where
  416. ;
  417. ; LHS = data type of left hand side of operation
  418. ; RHS = data type of right hand side of operation
  419. ; RES = result data type of operation
  420. ;
  421. ; LHS, RHS and RES values may be one of:
  422. ;
  423. ; Name Abbreviation DMS Data Type
  424. ; CHAR CH sqlChar
  425. ; VARCHAR VC sqlVarChar
  426. ; LVARCHAR LC sqlLongVarChar
  427. ; NCHAR NC sqlNChar
  428. ; NVARCHAR NV sqlNVarChar
  429. ; BINARY BN sqlBinary
  430. ; VARBINARY VB sqlVarBinary
  431. ; BOOLEAN BO sqlBoolean
  432. ; SMALLINT SM sqlSmallInt
  433. ; INTEGER IT sqlInteger
  434. ; QUAD QD sqlQuad
  435. ; DECIMAL DM sqlDecimal
  436. ; NUMERIC NU sqlNumeric
  437. ; FLOAT FL sqlFloat
  438. ; DOUBLE DB sqlDouble
  439. ; DATE DT sqlDate
  440. ; TIME TM sqlTime
  441. ; TIMESTAMP TS sqlDateTime
  442. ; INTERVAL IV sqlInterval
  443. ; TIME_TZ TT sqlTimeTZ
  444. ; TIMESTAMP_TZ TZ sqlTimestampTZ
  445. ; INTERVAL_YM IY sqlIntervalYM
  446. ; ALL DATATYPES AD -------------
  447. ; ---- NA sqlUnknownType
  448. ;
  449. [Operator Addition]
  450. Date=
  451. Time=
  452. Timestamp=
  453. Interval=
  454. [Operator Comparison]
  455. Date=DT,OK:TS,OK
  456. Timestamp=DT,OK:TS,OK
  457. Time=TM,OK:TS,OK
  458. [Operator Subtraction]
  459. Date=
  460. Time=
  461. Timestamp=
  462. Interval=
  463. [Operator Cast]
  464. NA=AD,NA
  465. AD=VC,NA:NC,NA:NV,NA:SM,NA:DB,NA:QD,NA:IV,NA:IY,NA:TT,NA:TZ,NA
  466. TX=AD,AD
  467. BL=AD,AD
  468. [Misc]
  469. ; Default processing mode.
  470. Processing Mode=Database Only
  471. [DATABASE:RED BRICK WAREHOUSE]
  472. ; When connecting to Redbrick read the DbInfo entries from
  473. ; the od_redbrick ini file with no subtype
  474. ;Override some cast functions
  475. DBINFO_SUBSECTIONS="DBNAM"
  476. State Overwrite 0="CCLMSG_UDA_SQL_GENERAL SQL_API_SQLCANCEL WS000 01S05"
  477. Exec_DegreeOfParallelism="SET QUERYPROCS %d"
  478. Exec_RowLimit_Set="SET ROWCOUNT %d"
  479. Exec_RowLimit_Reset="SET ROWCOUNT 0"
  480. System View Supported="F"
  481. System Alias Supported="F"
  482. System Synonym Supported="F"
  483. ;Some of the Redbrick drivers do not report this
  484. SQL_IDENTIFIER_QUOTE_CHAR="""
  485. ;The database doesn't properly support ltrim/rtrim
  486. ;functions because of lacking varchar support
  487. SQL_STRING_FUNCTIONS="6213"
  488. SQL_MAX_SCHEMA_NAME_LEN="30"
  489. SQL_API_SQLFETCHSCROLL="FALSE"
  490. [DATABASE:RED BRICK WAREHOUSE VERSION:06.00]
  491. ; When connecting to Redbrick Version 6.0 read the subtype of <Version:6.0>
  492. DBINFO_SUBTYPE="Version:6.0"
  493. [DATABASE:RED BRICK WAREHOUSE VERSION:06.10]
  494. ; When connecting to Redbrick Version 6.10 read the subtype of <Version:6.10>
  495. DBINFO_SUBTYPE="Version:6.1"
  496. [DATABASE:RED BRICK WAREHOUSE VERSION:06.11]
  497. ; When connecting to Redbrick Version 6.11 read the subtype of <Version:6.11>
  498. DBINFO_SUBTYPE="Version:6.11"
  499. [DATABASE:RED BRICK WAREHOUSE VERSION:06.20]
  500. ; When connecting to Redbrick Version 6.20 read the subtype of <Version:6.20>
  501. DBINFO_SUBTYPE="Version:6.20"
  502. [DATABASE:RED BRICK WAREHOUSE VERSION:06.30]
  503. ; When connecting to Redbrick Version 6.30 read the subtype of <Version:6.30>
  504. DBINFO_SUBTYPE="Version:6.30"
  505. [DRIVER:RB32ODBC.DLL]
  506. ; This driver only supports Red Brick Warehouse
  507. SQL_DBMS_NAME="RED BRICK WAREHOUSE"
  508. [DRIVER:RB32ODBC.DLL VERSION:05.02]
  509. SQL_API_SQLNATIVESQL="FALSE"
  510. [DRIVER:RBODBC32.DLL]
  511. ; This driver only supports Red Brick Warehouse
  512. SQL_DBMS_NAME="RED BRICK WAREHOUSE"
  513. ;Some of the Redbrick drivers do not report this
  514. SQL_IDENTIFIER_QUOTE_CHAR="""
  515. ;The database doesn't properly support ltrim/rtrim
  516. ;functions because of lacking varchar support
  517. SQL_STRING_FUNCTIONS="6213"
  518. [I18N Encoding Mapping DATABASE:RED BRICK]
  519. JapanEUC=EUC-JP
  520. MS1250=cp1250
  521. MS1251=cp1251
  522. MS1252=cp1252
  523. MS1253=cp1253
  524. MS1254=cp1254
  525. MS1255=cp1255
  526. MS1256=cp1256
  527. MS1257=cp1257
  528. MS1258=cp1258
  529. MS932=sjis
  530. MS874=cp874
  531. MS54936=gb18030