2018年7月23日

Firebird 条件函数

摘要: 1、iif IIF (<condition>, ResultT, ResultF) 示例: 2、nullif NULLIF (<exp1>, <exp2>) 示例: 阅读全文

posted @ 2018-07-23 11:15 jonney_wang 阅读(322) 评论(0) 推荐(0) 编辑

Firebird 有用的list函数

摘要: 语法: LIST ([ALL | DISTINCT] expression [, separator]) 示例: select list(u.code, ';') from m_user u 结果:查询到的多行,以分隔符分开显示。 阅读全文

posted @ 2018-07-23 10:27 jonney_wang 阅读(411) 评论(0) 推荐(0) 编辑

Firebird 日期时间

摘要: 查询当前时间: 1、使用内置系统变量 2、使用now字符串转换 3、强制转换 4、 select floor(2.3) from rdb$database -- 2 5、 select ceil(2.3) from rdb$database -- 3 6、往前推一天 select dateadd(h 阅读全文

posted @ 2018-07-23 10:16 jonney_wang 阅读(1214) 评论(0) 推荐(0) 编辑

导航