home *** CD-ROM | disk | FTP | other *** search
/ PC World 1998 December / PCWorld_1998-12_cd.iso / software / sybase / ASA / asa60.exe / data1.cab / h_files / sqlerr.h < prev    next >
C/C++ Source or Header  |  1998-07-27  |  22KB  |  387 lines

  1.  /****************************************************************
  2.  *       Copyright (C) 1988-1998, by Sybase, Inc.                *
  3.  *       All rights reserved. No part of this software may be    *
  4.  *       reproduced in any form or by any means - graphic,       *
  5.  *       electronic or mechanical, including photocopying,       *
  6.  *       recording, taping or information storage and retrieval  *
  7.  *       systems - except with the written permission of         *
  8.  *       Sybase, Inc.                                            *
  9.  ****************************************************************/
  10.  
  11. #ifndef _SQLERR_H_INCLUDED
  12. #define _SQLERR_H_INCLUDED
  13. #define II_SQLERR
  14.  
  15. /**************************/
  16. /* sql error return codes */
  17. /**************************/
  18.  
  19. #define SQLE_GENERIC_ERROR          SQLE_ERROR
  20.  
  21. #define SQLE_ROLLBACK_RANGE_LOW     -320L
  22. #define SQLE_ROLLBACK_RANGE_HIGH    SQLE_ERROR
  23.  
  24. #define _SQL_cause_rollback( stat )     \
  25.                   ((stat) >= SQLE_ROLLBACK_RANGE_LOW && \
  26.                    (stat) <= SQLE_ROLLBACK_RANGE_HIGH)
  27. #define _SQL_is_fatal_error( stat )     (  (stat) == SQLE_ERROR  \
  28.                                         || (stat) == SQLE_ACCESS_BEYOND_END_OF_MAX_DBSPACE \
  29.                                         || (stat) == SQLE_BEYOND_EOF \
  30.                                         || (stat) == SQLE_CANNOT_ACCESS_FILE \
  31.                                         || (stat) == SQLE_DATABASE_ERROR \
  32.                                         || (stat) == SQLE_DBSPACE_FULL \
  33.                                         || (stat) == SQLE_DEVICE_ERROR \
  34.                                         || (stat) == SQLE_DEVICE_FULL \
  35.                                         || (stat) == SQLE_DYNAMIC_MEMORY_EXHAUSTED \
  36.                                         || (stat) == SQLE_ERROR_WRITING_LOG \
  37.                                         || (stat) == SQLE_LOG_CORRUPTED \
  38.                     )
  39.                     
  40. /*      Subtransaction Errors */
  41.  
  42. #define SQLE_SUBTRANS_NOTFOUND                      -220L
  43. #define SQLE_SUBTRANS_REQUIRE_UNDO                  -213L
  44.  
  45.  
  46. /*    Warnings */
  47.  
  48. #define SQLE_NOERROR                                0L
  49. #define SQLE_NOTFOUND                               100L
  50. #define SQLE_TRUNCATED                              101L
  51. #define SQLE_TEMPORARY_TABLE                        102L
  52. #define SQLE_CANNOT_CONVERT                         103L
  53. #define SQLE_ROW_UPDATED_WARNING                    104L
  54. #define SQLE_PROCEDURE_COMPLETE                     105L
  55. #define SQLE_COLUMN_VALUE_CHANGED                   106L
  56. #define SQLE_CANNOT_EXECUTE_STMT                    111L
  57. #define SQLE_WARNING                                200L
  58. #define SQLE_HLI_MORE_DATA_AVAILABLE                400L
  59. #define SQLE_UNABLE_TO_START_ENGINE                 -80L
  60. #define SQLE_INVALID_COMMAND_LINE                   -81L
  61. #define SQLE_DATABASE_NOT_ACTIVE                    -74L
  62. #define SQLE_START_STOP_DATABASE_DENIED             -75L
  63. #define SQLE_REQUEST_DENIED_NO_DATABASES            -76L
  64. #define SQLE_ALIAS_CLASH                            -77L
  65. #define SQLE_INVALID_LOCAL_OPTION                   -79L
  66. #define SQLE_UNABLE_TO_START_DATABASE               -82L
  67. #define SQLE_DATABASE_NOT_FOUND                     -83L
  68. #define SQLE_INVALID_DATABASE                       -84L
  69. #define SQLE_NO_DATABASE_FILE                       -72L
  70. #define SQLE_COMMUNICATIONS_ERROR                   -85L
  71. #define SQLE_COMMUNICATIONS_UNDERFLOW               -73L
  72. #define SQLE_DYNAMIC_MEMORY_EXHAUSTED               -78L
  73. #define SQLE_NO_MEMORY                              -86L
  74. #define SQLE_DATABASE_NAME_REQUIRED                 -87L
  75. #define SQLE_PROTOCOL_MISMATCH                      -88L
  76. #define SQLE_ENGINE_ALREADY_RUNNING                 -96L
  77. #define SQLE_ENGINE_NOT_MULTIUSER                   -89L
  78. #define SQLE_INVALID_PARAMETER                      -95L
  79. #define SQLE_PAGE_SIZE_TOO_BIG                      -97L
  80. #define SQLE_PAGE_SIZE_INVALID                      -644L
  81. #define SQLE_DATABASE_NOT_CREATED                   -645L
  82. #define SQLE_AUTHENTICATION_VIOLATION               -98L
  83. #define SQLE_CONNECTIONS_DISABLED                   -99L
  84. #define SQLE_ENGINE_NOT_RUNNING                     -100L
  85. #define SQLE_NOT_CONNECTED                          -101L
  86. #define SQLE_TOO_MANY_CONNECTIONS                   -102L
  87. #define SQLE_INVALID_LOGON                          -103L
  88. #define SQLE_INVALID_PASSWORD                       -103L
  89. #define SQLE_INVALID_MODULE_LOGON                   -104L
  90. #define SQLE_UNABLE_TO_CONNECT                      -105L
  91. #define SQLE_CANNOT_OPEN_LOG                        -106L
  92. #define SQLE_ERROR_WRITING_LOG                      -107L
  93. #define SQLE_CONNECTION_NOT_FOUND                   -108L
  94. #define SQLE_STILL_ACTIVE_CONNECTIONS               -109L
  95. #define SQLE_NAME_NOT_UNIQUE                        -110L
  96. #define SQLE_INDEX_NAME_NOT_UNIQUE                  -111L
  97. #define SQLE_EXISTING_PRIMARY_KEY                   -112L
  98. #define SQLE_INVALID_FOREIGN_KEY_DEF                -113L
  99. #define SQLE_VIEW_DEFINITION_ERROR                  -114L
  100. #define SQLE_MUST_DROP_INDEX                        -115L
  101. #define SQLE_TABLE_MUST_BE_EMPTY                    -116L
  102. #define SQLE_PRIMARY_KEY_REFERENCED                 -117L
  103. #define SQLE_NO_PRIMARY_KEY                         -118L
  104. #define SQLE_PRIMARY_KEY_COLUMN_DEFINED             -119L
  105. #define SQLE_ALTER_CLAUSE_CONFLICT                  -125L
  106. #define SQLE_PRIMARY_KEY_TWICE                      -126L
  107. #define SQLE_COLUMN_IN_INDEX                        -127L
  108. #define SQLE_USER_OWNS_TABLES                       -128L
  109. #define SQLE_IDENTIFIER_TOO_LONG                    -250L
  110. #define SQLE_DUPLICATE_FOREIGN_KEY                  -251L
  111. #define SQLE_INDEX_NOT_FOUND                        -183L
  112. #define SQLE_MESSAGE_ALREADY_EXISTS                 -610L
  113. #define SQLE_ALREADY_HAS_GRANT_PERMS                -120L
  114. #define SQLE_PERMISSION_DENIED                      -121L
  115. #define SQLE_GROUP_CYCLE                            -122L
  116. #define SQLE_NOT_A_GROUP                            -123L
  117. #define SQLE_ALREADY_HAS_GROUP_MEMBERSHIP           -312L
  118. #define SQLE_INVALID_STATEMENT                      -130L
  119. #define SQLE_SYNTAX_ERROR                           -131L
  120. #define SQLE_IQ_PATH_SYNTAX_ERROR                   -687L
  121. #define SQLE_STATEMENT_ERROR                        -132L
  122. #define SQLE_INVALID_STATEMENT_TYPE                 -133L
  123. #define SQLE_NOT_IMPLEMENTED                        -134L
  124. #define SQLE_TSQL_FEATURE_NOT_SUPPORTED             -611L
  125. #define SQLE_LANGUAGE_EXTENSION                     -135L
  126. #define SQLE_STMT_NOT_ALLOWED_IN_PASSTHROUGH        -707L
  127. #define SQLE_DBSPACE_NOT_FOUND                      -138L
  128. #define SQLE_CORRELATION_NAME_AMBIGUOUS             -139L
  129. #define SQLE_UNKNOWN_USERID                         -140L
  130. #define SQLE_TABLE_NOT_FOUND                        -141L
  131. #define SQLE_CORRELATION_NAME_NOT_FOUND             -142L
  132. #define SQLE_COLUMN_NOT_FOUND                       -143L
  133. #define SQLE_COLUMN_AMBIGUOUS                       -144L
  134. #define SQLE_FOREIGN_KEY_NAME_NOT_FOUND             -145L
  135. #define SQLE_CANNOT_JOIN                            -146L
  136. #define SQLE_AMBIGUOUS_JOIN                         -147L
  137. #define SQLE_OUTER_JOIN_CYCLE                       -136L
  138. #define SQLE_CANNOT_OUTER_JOIN                      -162L
  139. #define SQLE_CORRELATION_NAME_NEEDED                -137L
  140. #define SQLE_UNKNOWN_FUNC                           -148L
  141. #define SQLE_INVALID_GROUP_SELECT                   -149L
  142. #define SQLE_AGGREGATES_NOT_ALLOWED                 -150L
  143. #define SQLE_SUBQUERY_SELECT_LIST                   -151L
  144. #define SQLE_INVALID_ORDER                          -152L
  145. #define SQLE_INVALID_UNION                          -153L
  146. #define SQLE_MESSAGE_NOT_FOUND                      -612L
  147. #define SQLE_USER_TYPE_NOT_FOUND                    -613L
  148. #define SQLE_USER_OWNS_MESSAGES_OR_DATATYPES        -614L
  149. #define SQLE_WRONG_PARAMETER_COUNT                  -154L
  150. #define SQLE_INVALID_PARAMETER_NAME                 -615L
  151. #define SQLE_VARIABLE_INVALID                       -155L
  152. #define SQLE_EXPRESSION_ERROR                       -156L
  153. #define SQLE_CONVERSION_ERROR                       -157L
  154. #define SQLE_OVERFLOW_ERROR                         -158L
  155. #define SQLE_INVALID_COLUMN_NUMBER                  -159L
  156. #define SQLE_DESCRIBE_NONSELECT                     -160L
  157. #define SQLE_INVALID_DESCRIBE_TYPE                  -161L
  158. #define SQLE_CURSOR_NOT_DECLARED                    -170L
  159. #define SQLE_OPEN_CURSOR_ERROR                      -171L
  160. #define SQLE_CURSOR_ALREADY_OPEN                    -172L
  161. #define SQLE_CURSOR_NOT_OPEN                        -180L
  162. #define SQLE_NO_INDICATOR                           -181L
  163. #define SQLE_SQLDA_TOO_SMALL                        -182L
  164. #define SQLE_PUT_CURSOR_ERROR                       -184L
  165. #define SQLE_TOO_MANY_RECORDS                       -185L
  166. #define SQLE_SUBQUERY_RESULT_NOT_UNIQUE             -186L
  167. #define SQLE_CURSOROP_NOT_ALLOWED                   -187L
  168. #define SQLE_NOT_ENOUGH_HOST_VARS                   -188L
  169. #define SQLE_NOT_FOUND_IN_INDEX                     -189L
  170. #define SQLE_NON_UPDATEABLE_COLUMN                  -190L
  171. #define SQLE_CANNOT_MODIFY                          -191L
  172. #define SQLE_NON_UPDATEABLE_VIEW                    -192L
  173. #define SQLE_PRIMARY_KEY_NOT_UNIQUE                 -193L
  174. #define SQLE_INVALID_FOREIGN_KEY                    -194L
  175. #define SQLE_COLUMN_CANNOT_BE_NULL                  -195L
  176. #define SQLE_INDEX_NOT_UNIQUE                       -196L
  177. #define SQLE_NO_CURRENT_ROW                         -197L
  178. #define SQLE_PRIMARY_KEY_VALUE_REF                  -198L
  179. #define SQLE_ONLY_ONE_TABLE                         -199L
  180. #define SQLE_INVALID_COLUMN_VALUE                   -209L
  181. #define SQLE_ROW_UPDATED_SINCE_READ                 -208L
  182. #define SQLE_WRONG_NUM_OF_INSERT_COLS               -207L
  183. #define SQLE_PRIMARY_KEY_MULTI_ROW_UPDATE           -252L
  184. #define SQLE_PRIMARY_KEY_CURSOR_UPDATE              -253L
  185. #define SQLE_DELETE_SUBQUERY_SAME_TABLE             -254L
  186. #define SQLE_CURSOR_DELETE_SELF_REF                 -255L
  187. #define SQLE_INSERT_SELF_REFERENCING                -256L
  188. #define SQLE_VARIABLE_NOT_FOUND                     -260L
  189. #define SQLE_VARIABLE_EXISTS                        -261L
  190. #define SQLE_LABEL_NOT_FOUND                        -262L
  191. #define SQLE_INVALID_FETCH_POSITION                 -263L
  192. #define SQLE_WRONG_NUM_OF_FETCH_VARIABLES           -264L
  193. #define SQLE_PROCEDURE_NOT_FOUND                    -265L
  194. #define SQLE_OLD_DBINIT                             -266L
  195. #define SQLE_ATOMIC_OPERATION                       -267L
  196. #define SQLE_TRIGGER_NOT_FOUND                      -268L
  197. #define SQLE_COLUMN_IN_TRIGGER                      -269L
  198. #define SQLE_USER_OWNS_PROCEDURES                   -270L
  199. #define SQLE_TRIGGER_DEFN_CONFLICT                  -271L
  200. #define SQLE_INVALID_TRIGGER_COL_REFS               -272L
  201. #define SQLE_INVALID_TRIGGER_STATEMENT              -273L
  202. #define SQLE_NESTING_TOO_DEEP                       -274L
  203. #define SQLE_PROCEDURES_NOT_IN_DESKTOP              -275L
  204. #define SQLE_PUBLICATION_NOT_FOUND                  -280L
  205. #define SQLE_TABLE_HAS_PUBLICATIONS                 -281L
  206. #define SQLE_SUBSCRIPTION_NOT_UNIQUE                -282L
  207. #define SQLE_SUBSCRIPTION_NOT_FOUND                 -283L
  208. #define SQLE_ONLY_ONE_PUBLISHER                     -284L
  209. #define SQLE_NOT_REMOTE_USER                        -285L
  210. #define SQLE_NOT_REMOTE_TYPE                        -286L
  211. #define SQLE_PASSTHROUGH_INCONSISTENT               -287L
  212. #define SQLE_REMOTE_STATEMENT_FAILED                -288L
  213. #define SQLE_CANNOT_UNIQUELY_IDENTIFY_ROWS          -295L
  214. #define SQLE_ERROR_NUMBER_OUT_OF_RANGE              -296L
  215. #define SQLE_INVALID_FORMAT_STRING_ARG_NUM          -294L
  216. #define SQLE_INVALID_OPTION                         -200L
  217. #define SQLE_INVALID_OPTION_SETTING                 -201L
  218. #define SQLE_LOCKED                                 -210L
  219. #define SQLE_MUST_BE_ONLY_CONNECTION                -211L
  220. #define SQLE_CHECKPOINT_REQUIRES_UNDO               -212L
  221. #define SQLE_TABLE_IN_USE                           -214L
  222. #define SQLE_PROCEDURE_IN_USE                       -215L
  223. #define SQLE_SAVEPOINT_NOTFOUND                     -220L
  224. #define SQLE_ROLLBACK_NOT_ALLOWED                   -221L
  225. #define SQLE_RESULT_NOT_ALLOWED                     -222L
  226. #define SQLE_SAVEPOINTS_REQUIRE_UNDO                -213L
  227. #define SQLE_PP_DBLIB_MISMATCH                      -230L
  228. #define SQLE_DBLIB_ENGINE_MISMATCH                  -231L
  229. #define SQLE_SERVER_ENGINE_MISMATCH                 -232L
  230. #define SQLE_UNKNOWN_BACKUP_OPERATION               -240L
  231. #define SQLE_BACKUP_NOT_STARTED                     -241L
  232. #define SQLE_BACKUP_CANNOT_RENAME_LOG_YET           -242L
  233. #define SQLE_BACKUP_UNABLE_TO_DELETE_FILE           -243L
  234. #define SQLE_LOG_TRUNCATED                          -244L
  235. #define SQLE_USER_DEFINED_EXCEPTION                 -297L
  236. #define SQLE_DOUBLE_REQUEST                         -298L
  237. #define SQLE_INTERRUPTED                            -299L
  238. #define SQLE_ERROR                                  -300L
  239. #define SQLE_DATABASE_ERROR                         -301L
  240. #define SQLE_TERMINATED_BY_USER                     -302L
  241. #define SQLE_DEVICE_FULL                            -304L
  242. #define SQLE_DEVICE_ERROR                           -305L
  243. #define SQLE_DEADLOCK                               -306L
  244. #define SQLE_THREAD_DEADLOCK                        -307L
  245. #define SQLE_CONNECTION_TERMINATED                  -308L
  246. #define SQLE_HLI_BAD_SYNTAX                         -400L
  247. #define SQLE_HLI_BAD_CURSOR                         -401L
  248. #define SQLE_HLI_BAD_STATEMENT                      -402L
  249. #define SQLE_HLI_BAD_HOST_VAR_NAME                  -403L
  250. #define SQLE_HLI_BAD_HOST_VAR_VALUE                 -404L
  251. #define SQLE_HLI_BAD_CALLBACK                       -405L
  252. #define SQLE_HLI_INTERNAL                           -406L
  253. #define SQLE_HLI_BAD_ARGUMENT                       -407L
  254. #define SQLE_BEYOND_EOF                             -310L
  255. #define SQLE_PHANTOM                                -501L
  256. #define SQLE_UNBLOCKED                              -502L
  257. #define SQLE_LOG_CORRUPTED                          -311L
  258. #define SQLE_UNSUPPORTED_LOAD_FORMAT                -601L
  259. #define SQLE_CANNOT_ACCESS_FILE                     -602L
  260. #define SQLE_COLUMN_VALUE_TOO_LONG                  -603L
  261. #define SQLE_CANNOT_UNLOAD_A_VIEW                   -643L
  262. #define SQLE_DBSPACE_FULL                           -604L
  263. #define SQLE_ACCESS_BEYOND_END_OF_MAX_DBSPACE       -605L
  264. #define SQLE_PATTERN_TOO_LONG                       -606L
  265. #define SQLE_CANNOT_STOP_SERVER                     -607L
  266. #define SQLE_INVALID_TEXTPTR_VALUE                  -608L
  267. #define SQLE_INVALID_TEXT_IMAGE_DATATYPE            -609L
  268. #define SQLE_TOO_MANY_COLUMNS_IN_TABLE              -616L
  269. #define SQLE_EXTERNAL_CALLS_NOT_SUPPORTED           -617L
  270. #define SQLE_EXTERNAL_PLATFORM_FAILURE              -618L
  271. #define SQLE_REQUIRE_DLL_NAME                       -619L
  272. #define SQLE_COULD_NOT_LOAD_LIBRARY                 -620L
  273. #define SQLE_COULD_NOT_FIND_FUNCTION                -621L
  274. #define SQLE_ERROR_CALLING_FUNCTION                 -622L
  275. #define SQLE_DDL_NOT_ALLOWED_IN_PROCEDURES          -623L
  276. #define SQLE_DATATYPE_NOT_ALLOWED                   -624L
  277. #define SQLE_TOO_MANY_PARAMETERS                    -625L
  278. #define SQLE_THREAD_START_FAILURE                   -626L
  279. #define SQLE_INVALID_SYNTAX_EXTENSION               -627L
  280. #define SQLE_DIV_ZERO_ERROR                         -628L
  281. #define SQLE_INVALID_ESCAPE_CHAR                    -629L
  282. #define SQLE_INVALID_ESCAPE_SEQ                     -630L
  283. #define SQLE_RAISERROR_STMT                         -631L
  284. #define SQLE_WITH_CHECK_OPTION_VIOLATION            -632L
  285. #define SQLE_READ_ONLY_CURSOR                       -633L
  286. #define SQLE_UNTERMINATED_C_STR                     -634L
  287. #define SQLE_SYNTAX_EXTENSION_WARNING               107L
  288. #define SQLE_CURSOR_OPERATION_CONFLICT              108L
  289. #define SQLE_NO_COLUMN_PERMS_FOR_VIEWS              -635L
  290. #define SQLE_NULL_VALUE_ELIMINATED                  109L
  291. #define SQLE_DUPLICATE_REFERENCING_COLUMN           -636L
  292. #define SQLE_DUPLICATE_INSERT_COLUMN                -637L
  293. #define SQLE_STRING_RIGHT_TRUNCATION                -638L
  294. #define SQLE_PARAMETER_NAME_MISSING                 -639L
  295. #define SQLE_INVALID_DESCRIPTOR_INDEX               -640L
  296. #define SQLE_ERROR_IN_ASSIGNMENT                    -641L
  297. #define SQLE_INVALID_DESCRIPTOR_NAME                -642L
  298. #define SQLE_BACKUP_PAGE_INCOMPLETE                 110L
  299. #define SQLE_NO_DESCRIPTOR_DATA                     100L
  300. #define SQLE_NOT_PUBLIC_ID                          -202L
  301. #define SQLE_MORE_INFO                              112L
  302. #define SQLE_TOO_MANY_COLUMNS_DELETED               -124L
  303. #define SQLE_TEMPORARY_NOT_ALLOWED                  -203L
  304. #define SQLE_INVALID_OPTION_ON_CONNECT              113L
  305. #define SQLE_OPTION_REQUIRES_DBA                    -204L
  306. #define SQLE_INVALID_STANDARD_LOGON                 -205L
  307. #define SQLE_INVALID_INTEGRATED_LOGON               -206L
  308. #define SQLE_INTEGRATED_LOGON_FAILED                -245L
  309. #define SQLE_PREEMPTED                              -503L
  310. #define SQLE_RETRY                                  -504L
  311. #define SQLE_INTEGRATED_LOGON_UNSUPPORTED           -246L
  312. #define SQLE_INTEGRATED_LOGON_GUESTMAP              -247L
  313. #define SQLE_INTEGRATED_LOGON_SYSMAP                -248L
  314. #define SQLE_INTEGRATED_LOGON_MAPPED                -249L
  315. #define SQLE_INTEGRATED_LOGON_UNMAPPED              -313L
  316. #define SQLE_ARGUMENT_CANNOT_BE_NULL                -90L
  317. #define SQLE_UNHANDLED_JAVA_EXCEPTION               -91L
  318. #define SQLE_BAD_CLASS_FILE                         -92L
  319. #define SQLE_STORE_NOT_LOADED                       -646L
  320. #define SQLE_STORE_ENTRY_NOT_FOUND                  -647L
  321. #define SQLE_STORE_VERSION_MISMATCH                 -711L
  322. #define SQLE_INVALID_DBSPACE_FOR_CREATE             -648L
  323. #define SQLE_FIELD_NOT_FOUND                        -93L
  324. #define SQLE_INVALID_FIELD_REFERENCE                -94L
  325. #define SQLE_FIELD_CANNOT_BE_NULL                   -649L
  326. #define SQLE_INVALID_INDEX_TYPE                     -650L
  327. #define SQLE_DROP_DATABASE_FAILED                   -651L
  328. #define SQLE_CANNOT_DECOMPRESS_CLASS                -652L
  329. #define SQLE_CLASS_MEMBER_OF_JAR                    -653L
  330. #define SQLE_NO_PROFILE_FILE                        -654L
  331. #define SQLE_GEN_PARSE_ERROR                        -655L
  332. #define SQLE_OMNI_CONNECT_ERROR                     -656L
  333. #define SQLE_OMNI_NO_RMT_OBJ                        -657L
  334. #define SQLE_OMNI_READONLY                          -658L
  335. #define SQLE_OMNI_SERVER_NOT_FOUND                  -659L
  336. #define SQLE_OMNI_REMOTE_ERROR                      -660L
  337. #define SQLE_OMNI_BACKWARDS_CURSOR                  -661L
  338. #define SQLE_JAVA_SERIALIZATION_ERROR               -662L
  339. #define SQLE_JAVA_DESERIALIZATION_ERROR             -663L
  340. #define SQLE_DATABASE_ACTIVE                        -664L
  341. #define SQLE_DATABASE_NEEDS_RECOVERY                -665L
  342. #define SQLE_OMNI_RMT_TABLE_NOTFOUND                -666L
  343. #define SQLE_OMNI_RMT_COLUMNS_NOTFOUND              -667L
  344. #define SQLE_NO_SCROLL_CURSOR                       -668L
  345. #define SQLE_METHOD_CANNOT_BE_CALLED                -669L
  346. #define SQLE_BAD_CLASS_BYTE_CODE                    -670L
  347. #define SQLE_PARAM_NOT_REGISTERED                   -671L
  348. #define SQLE_DATABASE_UPGRADE_FAILED                -672L
  349. #define SQLE_DATABASE_UPGRADE_NOT_POSSIBLE          -673L
  350. #define SQLE_INVALID_CURSOR_RANGE                   -674L
  351. #define SQLE_JAVA_VM_NOT_STARTED                    -675L
  352. #define SQLE_NO_COLUMN_NAME                         -163L
  353. #define SQLE_INVALID_TRANSACTION_ISOLATION          -676L
  354. #define SQLE_TABLE_HAS_REFACTION                    -677L
  355. #define SQLE_AMBIGUOUS_INDEX_NAME                   -678L
  356. #define SQLE_OMNI_MEMORY_CONFIG                     -679L
  357. #define SQLE_INVALID_TSQL_OJ_EXPRESSION             -680L
  358. #define SQLE_INVALID_TSQL_JOIN_TYPE                 -681L
  359. #define SQLE_OMNI_DEBUG                             -682L
  360. #define SQLE_NAMESPACE_HEAP_EXHAUSTED               -164L
  361. #define SQLE_JAVA_VM_HEAP_EXHAUSTED                 -165L
  362. #define SQLE_DUPLICATE_CURSOR_NAME                  -683L
  363. #define SQLE_ROLLBACK_ON_PREFETCH                   -684L
  364. #define SQLE_RESOURCE_GOVERNOR_EXCEEDED             -685L
  365. #define SQLE_STATIC_REF_TO_NONSTATIC_VAR            -686L
  366. #define SQLE_UNSUPPORTED_CHARACTER_SET              -688L
  367. #define SQLE_BAD_PARAM_INDEX                        -689L
  368. #define SQLE_RETVAL_CANNOT_BE_SET                   -690L
  369. #define SQLE_BACKUP_NOT_LOADED                      -691L
  370. #define SQLE_BACKUP_ENTRY_NOT_FOUND                 -692L
  371. #define SQLE_UNSUPPORTED_JDBC_FEATURE               -693L
  372. #define SQLE_CANNOT_CHANGE_OPENED_STATEMENT         -694L
  373. #define SQLE_JDBC_OBJ_INTERNAL_ERR                  -695L
  374. #define SQLE_JDBC_OBJ_CLOSED                        -696L
  375. #define SQLE_BACKUP_ERROR                           -697L
  376. #define SQLE_CANNOT_UPDATE_FINAL_FIELD              -699L
  377. #define SQLE_SQLDA_INCONSISTENT                     -700L
  378. #define SQLE_CANNOT_ACCESS_INSTANCE_MEMBER          -701L
  379. #define SQLE_CANNOT_TRUNCATE_VIEW                   -702L
  380. #define SQLE_CANNOT_INDEX_ON_JAVA_CLASS             -704L
  381. #define SQLE_COMPUTED_COLUMN_WRITE_ATTEMPTED        -703L
  382. #define SQLE_PROCEDURE_RETURNS_VOID                 -705L
  383. #define SQLE_TEXT_OPERATION_ON_VIEW                 -708L
  384. #define SQLE_COMPUTED_COLUMNS_NOT_SUPPORTED         -709L
  385. #define SQLE_INVALID_COMPARISON                     -710L
  386. #endif
  387.