2021年12月9日
摘要:
MD5Init()中ZeroMemory(@Buffer, SizeOf(MD5Buffer)); 改为 FillChar(Buffer, SizeOf(MD5Buffer), 0);//delphi标准函数 MD5Update()中CopyMemory(@Context.Buffer[Index]
阅读全文
posted @ 2021-12-09 10:59
liguang178
阅读(72)
推荐(0)
2021年12月8日
摘要:
只是在文件流中加上TEncoding.UTF8即可 vResponse := TStringStream.Create('',TEncoding.UTF8);
阅读全文
posted @ 2021-12-08 16:48
liguang178
阅读(319)
推荐(0)
2021年6月28日
摘要:
-- 删除索引 ALTER TABLE createworkflow DROP CONSTRAINT pk_createworkflow_id; -- 修改字段长度Alter table createworkflow alter column id varchar(64) not null; --
阅读全文
posted @ 2021-06-28 21:01
liguang178
阅读(244)
推荐(0)
2021年6月3日
摘要:
--查询是否有死锁的表及视图 select request_session_id spid, OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT
阅读全文
posted @ 2021-06-03 10:42
liguang178
阅读(99)
推荐(0)
2020年9月28日
摘要:
cxgriddbbandedtableview下的datacontroller下的datamodecontroller下的gridmode属性设为false
阅读全文
posted @ 2020-09-28 15:50
liguang178
阅读(227)
推荐(0)
2020年9月7日
posted @ 2020-09-07 11:15
liguang178
阅读(134)
推荐(0)
2020年7月23日
摘要:
转载https://www.cnblogs.com/rainco/p/7436435.html 万级别的数据真的算不上什么大数据,但是这个档的数据确实考核了普通的查询语句的性能,不同的书写方法有着千差万别的性能,都在这个级别中显现出来了,它不仅考核着你sql语句的性能,也考核着程序员的思想。 公司系
阅读全文
posted @ 2020-07-23 08:38
liguang178
阅读(683)
推荐(0)
摘要:
转载https://www.cnblogs.com/daxiongblog/p/4350583.html 原则,多数数据库都是从 左到右的顺序处理条件,把能过滤更多数据的条件放在前面,过滤少的条件放后面 SQL1: select * from employee where salary >1000
阅读全文
posted @ 2020-07-23 08:32
liguang178
阅读(1026)
推荐(0)
2020年6月12日
摘要:
在查询超时已过期,由于数据量的增加,并且数据库表结构没有主键或索引导致的。。创建索引后就OK
阅读全文
posted @ 2020-06-12 14:19
liguang178
阅读(704)
推荐(0)
摘要:
[start:end:step] ,start表示从什么地方开始就是起点位置,end表示到什么地方结束就是终点位置,step是步数,其中当起点和终点位置输入的值是负数时,千万别搞混淆了。。其实说穿了就是顺着数倒数第几个开始或者结束。 step步数为负数时是表示倒着开始来,当step为默认值或大于1的
阅读全文
posted @ 2020-06-12 14:13
liguang178
阅读(126)
推荐(0)