ASPチュートリアル

ASPホーム

WPチュートリアル

Webページの紹介 WebPages Razor Webページのレイアウト Webページフォルダ WebPages Global Webページフォーム Webページオブジェクト Webページファイル Webページデータベース Webページヘルパー WebPages WebGrid Webページチャート Webページの電子メール Webページのセキュリティ Webページの公開 Webページの例 Webページクラス

ASP.NET Razor

かみそりのイントロ かみそりの構文 Razor C#変数 Razor C#ループ Razor C#ロジック RazorVB変数 かみそりVBループ RazorVBロジック

ASPクラシック

ASPイントロ ASP構文 ASP変数 ASP手順 ASP条件文 ASPループ ASPフォーム ASPCookie ASPセッション ASPアプリケーション ASP #include ASP Global.asa ASP AJAX ASPメール ASPの例

ASPリファレンス

ASPVB関数 ASPVBキーワード ASP応答 ASPリクエスト ASPアプリケーション ASPセッション ASPサーバー ASPエラー ASPファイルシステム ASP TextStream ASPドライブ ASPファイル ASPフォルダー ASP辞書 ASP AdRotator ASP BrowserCap ASPコンテンツリンク ASPコンテンツローテーター ASPクイック参照

ADOチュートリアル

ADOイントロ ADOコネクト ADOレコードセット ADOディスプレイ ADOクエリ ADOソート ADO追加 ADOアップデート ADO削除 ADO Demo ADOスピードアップ

ADOオブジェクト

ADOコマンド ADO接続 ADOエラー ADOフィールド ADOパラメータ ADOプロパティ ADOレコード ADOレコードセット ADOストリーム ADOデータ型

ADOパラメータオブジェクト


パラメータオブジェクト

ADOパラメータオブジェクトは、ストアドプロシージャまたはクエリで使用される単一のパラメータに関する情報を提供します。  

パラメータオブジェクトは、作成時にパラメータコレクションに追加されます。パラメータコレクションは、特定のコマンドオブジェクトに関連付けられています。このオブジェクトは、コレクションを使用して、ストアドプロシージャおよびクエリとの間でパラメータを渡します。

パラメータを使用して、パラメータ化されたコマンドを作成できます。これらのコマンドは、(定義および保存された後)パラメーターを使用して、実行前にコマンドの詳細を変更します。たとえば、SQL SELECTステートメントは、パラメーターを使用してWHERE節の基準を定義できます。

パラメーターには、入力パラメーター、出力パラメーター、入出力パラメーター、および戻りパラメーターの4つのタイプがあります。


構文

objectname.property
objectname.method

プロパティ

Property Description
Attributes Sets or returns the attributes of a Parameter object
Direction Sets or returns how a parameter is passed to or from a procedure
Name Sets or returns the name of a Parameter object
NumericScale Sets or returns the number of digits stored to the right side of the decimal point for a numeric value of a Parameter object
Precision Sets or returns the maximum number of digits allowed when representing numeric values in a Parameter
Size Sets or returns the maximum size in bytes or characters of a value in a Parameter object
Type Sets or returns the type of a Parameter object
Value Sets or returns the value of a Parameter object

メソッド

Method Description
AppendChunk Appends long binary or character data to a Parameter object
Delete Deletes an object from the Parameters Collection