1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: db2-constants.lisp
6 ;;;; Purpose: Constants for CLSQL Db2 interface
10 ;;;; This file is part of CLSQL.
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 ;;;; *************************************************************************
17 (in-package #:clsql-db2
)
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)
25 (defconstant SQL_ERROR -
1)
26 (defconstant SQL_SUCCESS
0)
27 (defconstant SQL_SUCCESS_WITH_INFO
1)