改SQL语句,
SQL Server下的例子:
select theDate =
case dbDate
when is null then null
else convert(varchar(10),dbDate,formatFlag)
end,
other fields
from tablename
...
SQL Server下的例子:
select theDate =
case dbDate
when is null then null
else convert(varchar(10),dbDate,formatFlag)
end,
other fields
from tablename
...
解决方案 »
- 关于提取计算机系统信息
- 该视图为何建立失败?
- 一个报表问题,D7,FR3下面!
- 在excel表中查找一条记录的问题
- D7中怎样才能做到不打包就可以在没安装delphi的机器上运行delphi的.exe文件
- 如何实现后台程序
- 关于XML的节点值得问题。
- dbgrid中我如何按shift选择连续的多条记录?
- 我一点勇气都没有了,不知道会这样!!!
- 请问哪里有软解压DVD的控件,小弟急用!(就这点分了,请不要嫌弃!)
- 怎么我的专家分一天少了20分?斑竹怎么回事?
- 从Form1中Show出Form2,在From1中有对Form2中的memo1操作,编译系统提示错误:[Fatal Error] FreePhone1.pas(7): File not found: 'Unit2.dcu'?请问如何解决??
把date字段改为比如说是date吧
为isnull(date,'');