Jonvy

导航

2022年11月10日 #

SQL常用语句及其在Postgres 运用

摘要: 1. limit 限制查询数量,语法 LIMIT行数[OFFSET 偏移量],如果没有偏移量,默认从1开始 如: select * from t_xml_report limit 10 Offset 5 SQL Server用法:使用TOP关键字 ,例:select TOP 15 * from T_ 阅读全文

posted @ 2022-11-10 11:06 不亮 阅读(37) 评论(0) 推荐(0)

2022年11月7日 #

TAVLTree及其相关应用

摘要: 1.TAVLTree TAVLTree maintains a balanced AVL tree. The tree consists of TAVLTreeNode nodes, each of which has a Data pointer associated with it. The T 阅读全文

posted @ 2022-11-07 10:08 不亮 阅读(39) 评论(0) 推荐(0)

2022年11月5日 #

Object Pascal与Delphi中的指针

摘要: Object Pascal的指针 1. https://blog.csdn.net/peixiaobin_blog/article/details/43191171 Object Pascal中,动态分配内存的函数是GetMem(),与之对应的释放函数为FreeMem()(传统Pascal中获取内存 阅读全文

posted @ 2022-11-05 12:47 不亮 阅读(60) 评论(0) 推荐(0)

2022年11月2日 #

Lazarus数据类型

摘要: 1.字符串类型string 阅读全文

posted @ 2022-11-02 22:22 不亮 阅读(109) 评论(0) 推荐(0)

2022年10月19日 #

Postgres函数使用

摘要: 1.length, char_length函数计算字符串个数 用法: length(字段名) 如: 查找t_stocpf中客户条码的长度 select char_length(stocpf_no_cli),stocpf_no_cli from t_stocpf where datemodif='20 阅读全文

posted @ 2022-10-19 16:01 不亮 阅读(41) 评论(0) 推荐(0)

2022年10月18日 #

泛型

摘要: 必须先引用泛型容器单元Generics.Collections 阅读全文

posted @ 2022-10-18 16:18 不亮 阅读(23) 评论(0) 推荐(0)

2022年10月16日 #

拓扑排序Topological sort

摘要: 1. https://rosettacode.org/wiki/Topological_sort/Extracted_top_item#Pascal 2. https://rosettacode.org/wiki/Topological_sort#Object_Pascal 3.网上Pascal教程 阅读全文

posted @ 2022-10-16 19:40 不亮 阅读(16) 评论(0) 推荐(0)

2022年10月3日 #

[Trace]Routing的查询与建立

摘要: 以件号"620467300A"为例 1.从t_nomen中查询出id_nomen值 select id_nomen from t_nomen where et_refakf_se='620467300A' and et_refakf_comp is null id_nomen=16945 2.从t_ 阅读全文

posted @ 2022-10-03 11:00 不亮 阅读(35) 评论(0) 推荐(0)

2022年10月2日 #

Lazarus关键字

摘要: 1.absolute//它使得你能够创建一个新变量, 并且该变量的起始地址与另一个变量相同. var Str: string[32]; StrLen: Byte absolute Str; //这个声明指定了变量StrLen起始地址与Str相同. //由于字符串的第0个位置保存了字符串的长度, 所以 阅读全文

posted @ 2022-10-02 11:48 不亮 阅读(68) 评论(0) 推荐(0)

2022年9月30日 #

TCanvas与TBrush

摘要: TBrush的style设置为bsClear,为不填充 阅读全文

posted @ 2022-09-30 16:25 不亮 阅读(32) 评论(0) 推荐(0)