bb597ef7b7d2b6edc964aab66746ca1512914007
[clsql.git] / db-db2 / db2-constants.lisp
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          db2-constants.lisp
6 ;;;; Purpose:       Constants for CLSQL Db2 interface
7 ;;;;
8 ;;;; $Id$
9 ;;;;
10 ;;;; This file is part of CLSQL.
11 ;;;;
12 ;;;; CLSQL users are granted the rights to distribute and use this software
13 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
14 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15 ;;;; *************************************************************************
16
17 (in-package #:clsql-db2)
18
19 (defconstant SQL_NULL_HANDLE nil)
20 (defconstant SQL_HANDLE_ENV 1)
21 (defconstant SQL_HANDLE_DBC 2)
22 (defconstant SQL_HANDLE_STMT 3)
23 (defconstant SQL_NTS -3)
24
25 (defconstant SQL_ERROR -1)
26 (defconstant SQL_SUCCESS 0)
27 (defconstant SQL_SUCCESS_WITH_INFO 1)
28