home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Business Development Kit / PRODUCT_CD.iso / sqlsvr / ptk / mips / odsrc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-26  |  5.3 KB  |  169 lines

  1. /*
  2. ** ODSRC.H - This is the resource include for the ODS driver resource DLLs.
  3. **
  4. ** (C) Copyright 1992-1995 By Microsoft Corp.
  5. **
  6. **    These definitions are common between the ODS driver and the ODS resource
  7. **    DLL and cannot be changed without both being re-built.
  8. */
  9.  
  10. #define IDS_DATATYPE_OFFSET            1000
  11. #define IDS_INITIALIZATION_OFFSET    1050
  12. #define IDS_INFO_OFFSET             1100
  13. #if (ODBCVER >= 0x0300)
  14. #define SQL_OJ_CAPABILITIES_OLD     65003
  15. #define SQL_OJ_CAPABILITIES_NEW     SQL_OJ_CAPABILITIES
  16. #else
  17. #define SQL_OJ_CAPABILITIES_OLD     SQL_OJ_CAPABILITIES
  18. #define SQL_OJ_CAPABILITIES_NEW     115
  19. #endif
  20. #define IDS_AUTOCOMMIT_OFFSET        350
  21. #define IDS_ACCESS_MODE_OFFSET        352
  22. #define IDS_AUX_SETROWCOUNT         359
  23. #define IDS_BEGINTRAN                361
  24. #define IDS_AUX_SETTEXTSIZE         362
  25. #define IDS_AUX_USE                 389
  26. #define IDS_AUX_RPC_TEXT            411
  27. #define IDS_TRANSACT_OFFSET         413
  28. #define IDS_AUX_FORMAT_TS            424
  29. #define IDS_LANGUAGE_QUERY            459
  30. #define IDS_DATABASE_QUERY            461
  31. #define IDS_AUX_LANGUAGE            462
  32. #define IDS_DEF_LANGUAGE_QUERY        464
  33. #define IDS_DEF_DATABASE_QUERY        466
  34. #define IDS_ISOLATION_OFFSET        477
  35. #define IDS_AUX_RPC_SEP                484
  36.  
  37. #define IDS_AUX_KEYWORDS            540
  38. //    Range from IDS_AUX_KEYWORDS to IDS_AUX_KEYWORDS+8 is reserved
  39. //#define IDS_AUX_KEYWORDS+8        548
  40.  
  41. //    RCDATA defines
  42. /* CAUTION: The following seven defines must be in sequence. */
  43. #define IDB_AUX_ECODE_PARSE_DATE    1
  44. #define IDB_AUX_ECODE_PARSE_TIME    2
  45. #define IDB_AUX_ECODE_PARSE_TS        3
  46. //#define IDB_AUX_ECODE_PARSE_FUNC    4
  47. #define IDB_AUX_ECODE_PARSE_OJ        5
  48. //#define IDB_AUX_ECODE_PARSE_CALL    6
  49. //#define IDB_AUX_ECODE_PARSE_ESC    7
  50. /* END OF ORDER    */                    
  51.  
  52. //    Binary String IDs from IDB_CONVERT to IDB_IFNULL are reserved
  53. #define IDB_CONVERT                    101
  54. #define IDB_CONCAT                    102
  55. #define IDB_DIFFERENCE                103
  56. #define IDB_INSERT                    104
  57. #define IDB_LEFT                    105
  58. #define IDB_LTRIM                    106
  59. #define IDB_LENGTH                    107
  60. #define IDB_LOCATE                    108
  61. #define IDB_LCASE                    109
  62. #define IDB_REPEAT                    110
  63. #define IDB_REPLACE                    111
  64. #define IDB_RIGHT                    112
  65. #define IDB_RTRIM                    113
  66. #define IDB_SOUNDEX                    114
  67. #define IDB_SPACE                    115
  68. #define IDB_SUBSTRING                116
  69. #define IDB_UCASE                    117
  70. #define IDB_ASCII                    118
  71. #define IDB_CHAR                    119
  72. #define IDB_ABS                        120
  73. #define IDB_ACOS                    121
  74. #define IDB_ASIN                    122
  75. #define IDB_ATAN                    123
  76. #define IDB_ATAN2                    124
  77. #define IDB_CEILING                    125
  78. #define IDB_COS                        126
  79. #define IDB_COT                        127
  80. #define IDB_DEGREES                    128
  81. #define IDB_EXP                        129
  82. #define IDB_FLOOR                    130
  83. #define IDB_LOG                        131
  84. #define IDB_LOG10                    132
  85. #define IDB_MOD                        133
  86. #define IDB_PI                        134
  87. #define IDB_POWER                    135
  88. #define IDB_RADIANS                    136
  89. #define IDB_RAND                    137
  90. #define IDB_ROUND                    138
  91. #define IDB_SIGN                    139
  92. #define IDB_SIN                        140
  93. #define IDB_SQRT                    141
  94. #define IDB_TAN                        142
  95. #define IDB_TRUNCATE                143
  96. #define IDB_NOW                        144
  97. #define IDB_TIMESTAMPADD            145
  98. #define IDB_TIMESTAMPDIFF            146
  99. #define IDB_CURDATE                    147
  100. #define IDB_DAYOFMONTH                148
  101. #define IDB_DAYOFWEEK                149
  102. #define IDB_DAYOFYEAR                150
  103. #define IDB_DAYNAME                    151
  104. #define IDB_MONTH                    152
  105. #define IDB_MONTHNAME                153
  106. #define IDB_QUARTER                    154
  107. #define IDB_WEEK                    155
  108. #define IDB_YEAR                    156
  109. #define IDB_CURTIME                    157
  110. #define IDB_HOUR                    158
  111. #define IDB_MINUTE                    159
  112. #define IDB_SECOND                    160
  113. #define IDB_USER                    161
  114. #define IDB_DATABASE                162
  115. #define IDB_IFNULL                    163
  116.  
  117. #define IDS_FEATURE_FMTONLY_SUPPORT            150
  118. #define IDS_FEATURE_NOEXEC_SUPPORT            151
  119. #define IDS_FEATURE_HOLDLOCK_SUPPORT        152
  120. #define IDS_FEATURE_EXEC_THRU_PROC            153
  121. #define IDS_FEATURE_STRIP_SEPARATORS        154
  122. #define IDS_FEATURE_NOTNULL_DEFAULT         155
  123. #define IDS_FEATURE_RPC_SUPPORT                156
  124. #define IDS_FEATURE_TEXTPTR_SUPPORT            157
  125. #define IDS_FEATURE_TSQL_OJ_SUPPORT         158
  126. #define IDS_FEATURE_KEEP_PARM_MARKERS        159
  127. #define IDS_FEATURE_KEEP_AS_ALIAS            160
  128. #define IDS_FEATURE_KEEP_ASC_INDEX            161
  129. #define IDS_FEATURE_SP_CURSOR_SUPPORT        162
  130. #define IDS_FEATURE_DECNUM_SUPPORT            163
  131. #define IDS_FEATURE_UDT_ODS_FORMAT            164
  132.  
  133. #define    IDS_HOSTDBMS                        180
  134. #define IDS_GTWYNAME                        181
  135. #define IDS_SPROC_VERSION                    182
  136. #define IDS_HELP_FILENAME                    183
  137.  
  138. /* CAUTION: The following three defines must be in sequence. */
  139. #define IDS_AUX_ECODE_TEMPLATE_DATE 401
  140. #define IDS_AUX_ECODE_TEMPLATE_TIME 402
  141. #define IDS_AUX_ECODE_TEMPLATE_TS    403
  142. /* END OF ORDER    */                    
  143.  
  144. /* CAUTION: The following three defines must be in sequence. */
  145. #define IDS_AUX_ECODE_FORMAT_DATE    456
  146. #define IDS_AUX_ECODE_FORMAT_TIME    457
  147. #define IDS_AUX_ECODE_FORMAT_TS     458
  148. /* END OF ORDER    */                    
  149.  
  150. //    String IDs from IDS_LOCAL_OFFSET to
  151. //    IDS_LOCAL_OFFSET+999 are reserved for localized strings.
  152. //    All strings to be localized must be in this range
  153. #define IDS_LOCAL_OFFSET            40000U
  154.  
  155. //    All localized strings must maintain the same string id forever.
  156. //    Never re-use a localized string ID or you will screw up Expresso.
  157.  
  158. #define IDS_LOGIN_DIALOG_CAPTION    40001U
  159. #define IDS_LOCAL_TABLE_TERM        40002U
  160. #define IDS_LOCAL_OWNER_TERM        40003U
  161. #define IDS_LOCAL_QUALIFIER_TERM    40004U
  162. #define IDS_LOCAL_PROCEDURE_TERM    40005U
  163.  
  164. //    Localized string unique to ODS Gateway driver
  165. #define IDS_LOGIN_DIALOG_USERTERM            40700U
  166. #define IDS_LOGIN_DIALOG_PASSWORDTERM        40701U
  167. #define IDS_LOGIN_DIALOG_DATABASETERM        40702U
  168. #define IDS_LOGIN_DIALOG_LANGUAGETERM        40703U
  169.