Data.Win.ADODB.TParameter.Size

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TParameter

Delphi

property Size: Integer read GetSize write SetSize default 0;

C++

__property int Size = {read=GetSize, write=SetSize, default=0};

Description

Specifies the size of a string type parameter.

Set Size to indicate the maximum number of characters the parameter may contain. By default, Size is zero.

Note: Size only pertains to string type parameters (like CHAR and VARCHAR). For numeric type parameters, use the NumericScale and Precision properties. For other column types, Size should remain set to zero.

See Also