# Copyright (C) 1994, Novell, Inc.
# Copyright (C) 1994, Novell, Inc.
# SSODBC.TXT
# String Text file for SoftSolutions' ODBC driver.

# 100-499:  Error messages.  These must be in sequential order w/o
#           breaks because they are indexed from error_table[], so
#           if a new one is inserted the rest on down must be
#           renumbered.

*100  Success.
*101  Disconnect error.
*102  Data truncated.
*103  Privilege not revoked.
*104  Invalid connection string attribute.
*105  Wrong number of parameters.
*106  Restricted data type attribute violation.
*107  Unable to connect to data source.
*108  Connection in use.
*109  Connection not open.
*110  Data source rejected establishment of connection.
*111  Connection failure during transaction.
*112  Communication link failure.
*113  Insert value list does not match column list.
*114  Degree of derived table does not match column list.
*115  String data right truncation.
*116  Numeric value out of range.
*117  Error in assignment.
*118  Datetime field overflow.
*119  Division by zero.
*120  String data, length mismatch.
*121  Integrity constraint violation.
*122  Invalid cursor state.
*123  Invalid transaction state.
*124  Invalid authorization specification.
*125  Invalid cursor name.
*126  Syntax error or access violation.
*127  Duplicate cursor name.
*128  Serialization failure.
*129  Syntax error or access violation.
*130  Operation aborted.
*131  Driver does not support this function.
*132  Data source name not found and no default driver specified.
*133  Driver specified by data source name could not be loaded.
*134  Driver's SQLAllocEnv failed.
*135  Driver's SQLAllocConnect failed.
*136  Driver's SQLSetConnectOption failed.
*137  No data source specified; dialog prohibited.
*138  Dialog failed.
*139  Unable to load translation DLL.
*140  Base table or view already exists.
*141  Base table not found.
*142  Index already exists.
*143  Index not found.
*144  Column already exists.
*145  Column not found.
*146  General error.
*147  Memory allocation failure.
*148  Invalid column number.
*149  Program type out of range.
*150  SQL data type out of range.
*151  Operation canceled.
*152  Invalid argument value.
*153  Function sequence error.
*154  Invalid transaction operation code specified.
*155  No cursor name available.
*156  Invalid string or buffer length.
*157  Descriptor type out of range.
*158  Option type out of range.
*159  Invalid parameter number.
*160  Invalid scale value.
*161  Function type out of range.
*162  Information type out of range.
*163  Column type out of range.
*164  Scope type out of range.
*165  Nullable type out of range.
*166  Uniqueness option type out of range.
*167  Accuracy option type out of range.
*168  Table type out of range.
*169  Direction option out of range.
*170  Fetch type out of range.
*171  Row value out of range.
*172  Concurrency option out of range.
*173  Invalid cursor position; no keyset defined.
*174  Invalid driver completion.
*175  Driver not capable.
*176  No data at execution values pending.
*177  Timeout expired.

# 500-699:  The SqlState equivalent of the native error codes returned by the API.
# Each string number is 500 plus the absolute value of the native error code.
# These are tentative mappings and may (or ought to) be revised.

*501  S1000
*502  S1001
*503  S1009
*504  S0002
*505  S1095
*506  S1000
*507  S1000
*509  S1000
*510  S1000
*511  S1000
*512  S1000
*513  S1000
*514  S1000
*515  S1000
*516  S1000
*517  S1000
*518  S1000
*519  S1000
*520  S1000
*521  S1000
*522  S1000
*524  S1000

*601  S1000
*602  S1000
*603  S1000
*604  S1000
*605  S1000
*606  S1000
*607  S1000
*608  S1000
*609  S1000
*610  S1000
*611  S1000
*612  S1000
*613  S1000

# 700-899:  The API's error message.  Again, each string number is 700 plus the
# absolute value of the native error code.

*701  General error.
*702  No memory available.
*703  Invalid parameter.
*704  Undefined security group.
*705  Invalid function call for file.
*706  Locking error.
*707  Database error.
*709  Data error.
*710  Error accessing data server.
*711  Error getting control information.
*712  Location segments are circular.
*713  Error opening transport connection.
*714  The search references not freed.
*715  Error initializing strings.
*716  Comment in use.
*717  Got previous comment for edit.
*718  Tried to put the wrong comment.
*719  Search found too many hits.
*720  Personal string file not found.
*721  SpeedSearch functions not available.
*722  Custom error.
*724  Null memory handle:  out of memory.

*801  Record not found.
*802  No prior record for this request.
*803  End of file.
*804  Beginning of file.
*805  Primary key already exists.
*806  Out of memory.
*807  I/O error.
*808  File does not exist.
*809  Max files exceeded.
*810  Record changed.
*811  Index corruption found.
*812  File not open.
*813  Seek into file failed.

#1000-1100:  Names for the data types found in the schema.  Apps can retrieve these
#            through SQLColAttributes(). Note that the string # for each data type
#            is 1000 + its #defined value found in sql.h or sqlext.h (since some are
#            #defined to be negative, they are less than 1000).

*994   TINYINT
*1001  CHAR
*1004  INTEGER
*1005  SMALLINT
*1009  DATE
*1011  TIMESTAMP
