Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULCursorSchema 类

 

GetColumnScale 方法

如果列为数值列(SQL 类型 NUMERIC),则返回由指定的列 ID 标识的列的小数位数。

语法
Visual Basic
Public Function GetColumnScale( _
   ByVal columnID As Integer _
) As Integer
C#
public int GetColumnScale(
   int columnID
);
参数
  • columnID   列的 ID。值必须在 [0,ColumnCount-1] 范围内。

返回值

指定数字列的小数位数。

另请参见