首页 > 开发 > 综合 > 正文

adovbs.inc

2024-07-21 02:15:39
字体:
来源:转载
供稿:网友
<%
'--------------------------------------------------------------------
' microsoft ado
'
' copyright (c) 1996-1998 microsoft corporation.
'
'
'
' ado constants include file for vbscript
'
'--------------------------------------------------------------------

'---- cursortypeenum values ----
const adopenforwardonly = 0
const adopenkeyset = 1
const adopendynamic = 2
const adopenstatic = 3

'---- cursoroptionenum values ----
const adholdrecords = &h00000100
const admoveprevious = &h00000200
const adaddnew = &h01000400
const addelete = &h01000800
const adupdate = &h01008000
const adbookmark = &h00002000
const adapproxposition = &h00004000
const adupdatebatch = &h00010000
const adresync = &h00020000
const adnotify = &h00040000
const adfind = &h00080000
const adseek = &h00400000
const adindex = &h00800000

'---- locktypeenum values ----
const adlockreadonly = 1
const adlockpessimistic = 2
const adlockoptimistic = 3
const adlockbatchoptimistic = 4

'---- executeoptionenum values ----
const adasyncexecute = &h00000010
const adasyncfetch = &h00000020
const adasyncfetchnonblocking = &h00000040
const adexecutenorecords = &h00000080
const adexecutestream = &h00000400

'---- connectoptionenum values ----
const adasyncconnect = &h00000010

'---- objectstateenum values ----
const adstateclosed = &h00000000
const adstateopen = &h00000001
const adstateconnecting = &h00000002
const adstateexecuting = &h00000004
const adstatefetching = &h00000008

'---- cursorlocationenum values ----
const aduseserver = 2
const aduseclient = 3

'---- datatypeenum values ----
const adempty = 0
const adtinyint = 16
const adsmallint = 2
const adinteger = 3
const adbigint = 20
const adunsignedtinyint = 17
const adunsignedsmallint = 18
const adunsignedint = 19
const adunsignedbigint = 21
const adsingle = 4
const addouble = 5
const adcurrency = 6
const addecimal = 14
const adnumeric = 131
const adboolean = 11
const aderror = 10
const aduserdefined = 132
const advariant = 12
const adidispatch = 9
const adiunknown = 13
const adguid = 72
const addate = 7
const addbdate = 133
const addbtime = 134
const addbtimestamp = 135
const adbstr = 8
const adchar = 129
const advarchar = 200
const adlongvarchar = 201
const adwchar = 130
const advarwchar = 202
const adlongvarwchar = 203
const adbinary = 128
const advarbinary = 204
const adlongvarbinary = 205
const adchapter = 136
const adfiletime = 64
const adpropvariant = 138
const advarnumeric = 139
const adarray = &h2000

'---- fieldattributeenum values ----
const adfldmaydefer = &h00000002
const adfldupdatable = &h00000004
const adfldunknownupdatable = &h00000008
const adfldfixed = &h00000010
const adfldisnullable = &h00000020
const adfldmaybenull = &h00000040
const adfldlong = &h00000080
const adfldrowid = &h00000100
const adfldrowversion = &h00000200
const adfldcachedeferred = &h00001000
const adfldischapter = &h00002000
const adfldnegativescale = &h00004000
const adfldkeycolumn = &h00008000
const adfldisrowurl = &h00010000
const adfldisdefaultstream = &h00020000
const adfldiscollection = &h00040000

'---- editmodeenum values ----
const adeditnone = &h0000
const adeditinprogress = &h0001
const adeditadd = &h0002
const adeditdelete = &h0004

'---- recordstatusenum values ----
const adrecok = &h0000000
const adrecnew = &h0000001
const adrecmodified = &h0000002
const adrecdeleted = &h0000004
const adrecunmodified = &h0000008
const adrecinvalid = &h0000010
const adrecmultiplechanges = &h0000040
const adrecpendingchanges = &h0000080
const adreccanceled = &h0000100
const adreccantrelease = &h0000400
const adrecconcurrencyviolation = &h0000800
const adrecintegrityviolation = &h0001000
const adrecmaxchangesexceeded = &h0002000
const adrecobjectopen = &h0004000
const adrecoutofmemory = &h00

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表