Temporary Table Usage in SQL Server

后端 未结 6 961
礼貌的吻别
礼貌的吻别 2021-02-10 05:20

This is a bit of an open question but I would really like to hear people opinions.

I rarely make use of explicitly declared temporary tables (either table variables or r

6条回答
  •  北恋
    北恋 (楼主)
    2021-02-10 06:13

    Also useful when you have a dataset that needs to be retrieved once and used over and over in subsequent statements.

    Makes these long batch processes more readable (sometimes this is more important than performance).

提交回复
热议问题