Go to the first, previous, next, last section, table of contents.


The Libocaml_odbc module

exception SQL_Error of string

val logiciel : string

val version : string
type sql_column_type =
  | SQL_unknown
  | SQL_char
  | SQL_numeric
  | SQL_decimal
  | SQL_integer
  | SQL_smallint
  | SQL_float
  | SQL_real
  | SQL_double
  | SQL_varchar
  | SQL_date
  | SQL_time
  | SQL_timestamp
  | SQL_longvarchar
  | SQL_binary
  | SQL_varbinary
  | SQL_longvarbinary
  | SQL_bigint
  | SQL_tinyint
  | SQL_bit
;;
module SQL_column :
  sig
    type t = sql_column_type
    val string : t -> string
  end

class data_base :
  string ->
  string ->
  string ->
  object
    val mutable phDbc : Ocaml_odbc.sQLHDBC
    val mutable phEnv : Ocaml_odbc.sQLHENV
    val nom_base : string
    val nom_user : string
    val pzPasswd : string

    method connect : unit -> unit
    method disconnect : unit -> unit
    method execute : string -> int * (string list list)
    method execute_with_info : string -> int * ((string * sql_column_type) list) * (string list list)
  end


Go to the first, previous, next, last section, table of contents.