📅  最后修改于: 2022-03-11 15:05:11.754000             🧑  作者: Mango
DECLARE @TableExample TABLE(some columns); --Table variable.
CREATE TABLE #TempTable(Ssome columns); --Temporal table.
Temp tables are a good choice if you're handling large data but if it's a small
data that you'll be handling, table variable are a great choice since they operate
on the ram(memory).