JackQu的程序员博客

欢迎来的我Blog.这里记录工作学习的点滴,愿与大家分享。欢迎大家共同交流 。

导航

2008年12月19日 #

SQL-使用Case进行行列转换

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->selectsum(caseFcyNowhen'USD'thenfcyamtelse0end)usdfromaccbillsitems 提示错误expres... 阅读全文

posted @ 2008-12-19 15:43 Qcj 阅读(354) 评论(0) 推荐(0) 编辑

简单的函数

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->FunctionUpdateOrInsert(Fbentityid,Itemid,CNTRID:integer):boolean; varaSQLQuery:TSQLQuer... 阅读全文

posted @ 2008-12-19 15:40 Qcj 阅读(242) 评论(0) 推荐(0) 编辑

用这个方法可以看数据集字段

摘要: SaveToFile('d:\js.xml',dfXMLUTF8) SaveToFile('d:/d',dfbinary); 跟踪调试 SendToDebugMSG(' '); 阅读全文

posted @ 2008-12-19 15:38 Qcj 阅读(142) 评论(0) 推荐(0) 编辑

Blob 字段 BLOB SUB_TYPE 说明

摘要: 用sub_type子句指定子类型。最常用的子类型是0、1。 例如:Create Table Table2 (Blob1 Blob, Blob2 Blob Sub_Type 1, Blob3 Blob Sub_Type -1); 上面的语句创建了一个含有三个BLOB类型的数据表。第一个是缺省子类型0,代表无类型二进制数据;第二个子类型为1,代表是文本数据;第三个子类行为-1,代表用户自定义类型... 阅读全文

posted @ 2008-12-19 15:36 Qcj 阅读(292) 评论(0) 推荐(0) 编辑

2008年12月18日 #

判断角色

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 function GetUserrole: Boolean; 2 var ATeams: TStrings; 3 i:Integer; 4 begin 5 ... 阅读全文

posted @ 2008-12-18 08:44 Qcj 阅读(177) 评论(0) 推荐(0) 编辑