ADO 정밀도 속성


❮ 완전한 매개변수 개체 참조

Precision 속성은 Parameter 또는 Field 개체에서 숫자 값을 나타낼 때 허용되는 최대 자릿수인 바이트 값을 설정하거나 반환합니다.

Object Description of the Precision Property
Field

The Precision property is normally read-only on a Field object, but for new Field objects that have been added to the Fields collection of a Record, it is read/write after the Value property for the Field has been specified and the provider has successfully added the new Field by calling the Update method of the Fields collection

Parameter The Precision property has read/write permissions on a Parameter object

통사론

objectname.Precision

예시

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"

set rs = Server.CreateObject("ADODB.Recordset")
rs.open "Select * from orders", conn

response.write(rs.Fields(0).Precision)

rs.Close
conn.close
%>

❮ 완전한 매개변수 개체 참조