tdbc_mapSqlState man page on OpenMandriva

Man page or keyword search:  
man Server   8135 pages
apropos Keyword Search (all sections)
Output format
OpenMandriva logo
[printable version]

tdbc::mapSqlState(n)	   Tcl Database Connectivity	  tdbc::mapSqlState(n)

______________________________________________________________________________

NAME
       tdbc::mapSqlState - Map SQLSTATE to error class

SYNOPSIS
       package require tdbc 1.0

       tdbc::mapSqlState sqlstate
_________________________________________________________________

DESCRIPTION
       The tdbc::mapSqlState command accepts a string that is expected to be a
       five-character 'SQL state' as returned from  a  SQL  database  when  an
       error  occurs.  It examines the first two characters of the string, and
       returns an error class as a human- and machine-readable name (for exam‐
       ple, FEATURE_NOT_SUPPORTED, DATA_EXCEPTION or INVALID_CURSOR_STATE).

       The  TDBC  specification requires database drivers to return a descrip‐
       tion of an error in the error code when an error occurs.	 The  descrip‐
       tion is a string that has at least four elements: "TDBC errorClass sql‐
       state driverName details...". The  tdbc::mapSqlState  command  gives  a
       convenient  way	for  a	TDBC driver to generate the errorClass element
       given the SQL state returned from a database.

SEE ALSO
       tdbc(n),	  tdbc::tokenize,   tdbc::connection(n),   tdbc::statement(n),
       tdbc::resultset(n)

KEYWORDS
       TDBC, SQL, database, state

COPYRIGHT
       Copyright (c) 2009 by Kevin B. Kenny.

Tcl				      8.6		  tdbc::mapSqlState(n)
[top]

List of man pages available for OpenMandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net