ASP general method call the stored procedure:
p.Append cmd.CreateParameter ( "parameter name", type, orientation, size) of
the reference parameter values allowable types have the following meanings:
Name Value integer function
adDBTimeStamp 135 Date Time data type
adDecimal 14 decimal integer
adDouble 5 double precision fractional value
adError 10 system error message
AdGUID 72 domain-wide unique identifier (Globally uNIQUE identifier)
adDispath. 9 the COM / the OLE automation objects (Automation Object)
adInteger. 3. 4-byte signed integer
adIUnknown 13 COM / OLE Object
large 2-byte value adLongVarBinary 205
adLongVarChar 201 large string value
adLongVarWChar 203 large unencoded string
adNumeric 131 decimal integer
adSingle 4 single precision floating point
adSmallInt 2 2-byte signed integer
adTinyInt 16 1-byte signed integer
adUnsignedBigInt 21 8-byte unsigned integer
adUnsignedInt 19 4-byte unsigned integer
adUnsignedSmallInt 18 2-byte unsigned integer
adUnsignedTinyInt 17 1-byte unsigned integer
adUserDefined 132 user-defined data types
adVariant 12 OLE objects
adVarBinary 204 double byte character variable value
adVarChar 200 character variable value
advarchar 202 unencoded character string value of the variable
adWchar 130 unencoded string
Note:
ntext, 203 adLongVarWChar
text 201 adLongVarChar
When used in ASP Command call a stored procedure to add records to the database, which type of parameters passed ntext type fields using it?
p.Append cmd.CreateParameter ( "parameter Name", 201, 1, 1073741823, cstr ( value))
Reproduced in: https: //www.cnblogs.com/Spring/archive/2007/07/05/806965.html