10 2023 档案
复合主键与复合唯一索引
摘要:主键的唯一性和联合主键 主键是唯一的索引,那么为何一个表可以创建多个主键呢? 其实“主键是唯一的索引”这话有点歧义的。举个例子,我们在表中创建了一个ID字段,自动增长,并设为主键,这个是没有问题的,因为“主键是唯一的索引”,ID自动增长保证了唯一性,所以可以。 此时,我们再创建一个字段name,类型
阅读全文
解决PowerDesigner 16 Generate Datebase For Sql2005/2008 对象名sysproperties无效的问题
摘要:解决PowerDesigner 16 Generate Datebase For Sql2005/2008 对象名sysproperties无效的问题 在PowerDesigner 16 中生成的sql语句,在执行的时候报错:对象名sysproperties 无效的错误;造成此问题的原因是由于Sql
阅读全文
What is 1e-9?
摘要:What is 1e-9? def compare_floats(a, b, epsilon=1e-9): //判断浮点数是否相等, 实际是判断两数相差是否大于那个极微小的数 return abs(a - b) < epsilon result = compare_floats(0.1 + 0.2,
阅读全文
PowerDesigner之PDM(物理概念模型)
摘要:PowerDesigner之PDM(物理概念模型) 2022-01-05 09:41 248阅读 0赞 PowerDesigner之PDM(物理概念模型) 转载自:https://blog.csdn.net/qq_27376871/article/details/51321609 一、PDM概述 P
阅读全文
Converting Virtual Addresses to Physical Addresses
摘要:Converting Virtual Addresses to Physical Addresses Most debugger commands use virtual addresses, not physical addresses, as their input and output. Ho
阅读全文
‘Proof of the pudding’: Global variables and PAGE_EXECUTE_WRITECOPY
摘要:‘Proof of the pudding’: Global variables and PAGE_EXECUTE_WRITECOPY UNCATEGORIZED PRODUCTION DEBUGGING, WINDBG LEAVE A COMMENT Today I was teaching a
阅读全文
A curious case: CLR/COM Interop leak
摘要:A curious case: CLR/COM Interop leak UNCATEGORIZED .NET, COM, INTEROP, PRODUCTION DEBUGGING, WINDBG LEAVE A COMMENT Background A customer asked me a q
阅读全文
内存分配粒度
摘要:分配粒度和内存页面大小(x86处理器平台的分配粒度是64K,内存页是4K,所以section都是0x1000对齐,硬盘扇区大小是512字节,所以PE文件默认文件对齐是0x200) 分配粒度和内存页面大小x86处理器平台的分配粒度是64K,32位CPU的内存页面大小是4K,64位是8K,保留内存地址空
阅读全文
Pushing the Limits of Windows
摘要:Pushing the Limits of Windows: Physical Memory By Mark Russinovich Published Jun 26 2019 11:42 PM 14.7K Views First published on TechNet on Jul 21, 20
阅读全文
浙公网安备 33010602011771号