06 2024 档案
摘要:文件模板代码 T4_GetEntityDic <#@ template language="C#" #> <#@ output extension=".cs" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.IO"
阅读全文
摘要:优化方向 1.使用合适的索引:确保查询中涉及的字段有适当的索引。索引可以帮助数据库引擎快速定位和检索数据,提高查询效率。 2.避免使用通配符查询:尽量避免在查询条件中使用通配符 '%',因为这样的查询会导致全表扫描,影响性能。 3.避免使用函数:在查询条件中避免使用函数,尽量在字段上使用函数,因为函
阅读全文