常用工具: 简繁转换 HTML/JS互转 Url编码Escape解析 Unicode编码转换 设为首页 加入收藏夹
更多内容
" id="arctext" class="center" " class="arcinfo center" " id="slistl" class="left" " id="mid_slistl_sch" class="left" " id="mid_slistl_adv" class="left" " id="mid_slistl_adv2" " src="http://www.fzs8.net/d/js/acmsd/middle2.js"
文章正文

ASP Hex 函数

来源:  网络收集  字体:[ ]
站内搜索系统
文章正文

ADO Parameter对象属性

来源:  网络收集  2007-04-28 00:00:00 字体:[ ]

Parameter Object
Parameter[参数]对象

The ADO Parameter object provides information about a single parameter used in a stored procedure or query.  
ADO Parameter 对象的作用是:为现存的程序或查询语句提供一个单独的参数信息。

A Parameter object is added to the Parameters Collection when it is created. The Parameters Collection is associated with a specific Command object, which uses the Collection to pass parameters in and out of stored procedures and queries.
当Parameter[参数]对象被建立时,它会被添加进参数集合中。参数集合是与一个指定的Command[命令]对象一起使用的,该命令对象将使用集合将参数传递到现有的程序和查询语句中。

Parameters can be used to create Parameterized Commands. These commands are (after they have been defined and stored) using parameters to alter some details of the command before it is executed. For example, an SQL SELECT statement could use a parameter to define the criteria of a WHERE clause.
参数可以被用来创建参数化的指令。这些指令(在它们被定义或保存之后)通过使用参数将一些未执行的指令进行更改。举例来说,SQL SELECT语句可以使用一个参数来定义一个WHERE条款规则。

There are four types of parameters: input parameters, output parameters, input/output parameters and return parameters.
这里有四个类型的参数:input[输入]参数、output[输出]参数、input/output[输入/输出]参数以及return[返回]参数。

Syntax
语法

objectname.propertyobjectname.method

Properties
属性

Property属性Description描述
AttributesSets or returns the attributes of a Parameter object
设置或返回一个Parameter[参数]对象的属性
DirectionSets or returns how a parameter is passed to or from a procedure
设置或返回向程序中传递参数或从程序中传回参数的方式
NameSets or returns the name of a Parameter object
设置或返回一个Parameter[参数]对象的名称
NumericScaleSets or returns the number of digits stored to the right side of the decimal point for a numeric value of a Parameter object
设置或返回一个数值型Parameter[参数]对象中小数点右边的数位
PrecisionSets or returns the maximum number of digits allowed when representing numeric values in a Parameter
设置或返回一个数值型参数值所允许的最大位数
SizeSets or returns the maximum size in bytes or characters of a value in a Parameter object
设置或返回一个Parameter[参数]对象值的最大字节数或特性
TypeSets or returns the type of a Parameter object
设置或返回一个Parameter[参数]对象的具体类型
ValueSets or returns the value of a Parameter object
设置或返回一个Parameter[参数]对象的值

Methods
方法

Method方法Description描述
AppendChunkAppends long binary or character data to a Parameter object
向一个Parameter[参数]对象中追加一个长二进制数据或字符数据
DeleteDeletes an object from the Parameters Collection
删除参数集合中的一个对象

  
上一篇:ADO Field 对象
下一篇:ADO 属性
最新文章
推荐文章
热门文章
版权所有:IT加油站   COPYRIGHT © 2007 WWW.FZS8.NET ALL RIGHTS RESERVED.
闽ICP备08008535号