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 - C 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_TableSchema_iface 类

 

IsColumnCurrentDate 函数

检查指定列的缺省值是否设置为当前日期。

语法
bool UltraLite_TableSchema_iface::IsColumnCurrentDate(
  const ULValue & column_id
)
参数
  • column_id   列的 ID 号。该值必须是从 1 开始的序号。表中第一列的 ID 值为 1。

返回值
  • 如果列具有当前日期缺省值,则返回 true。

  • 如果列未缺省为当前日期,则返回 false。