Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
临时表#X(它包含 10 万条记录)稍后在存储过程中使用,需要建立索引。
这两个是否彼此一样有效:
...或者更改订单会影响效率:
先填表,再创建索引。以另一种方式进行意味着每次插入都必须更新表和索引。