sql查詢結(jié)果作為臨時(shí)表 SQL怎樣把查詢的結(jié)果保存成一張臨時(shí)表?
SQL怎樣把查詢的結(jié)果保存成一張臨時(shí)表?如果您的多表查詢是select*from table where condition那么您想要的句子是select*into#temp from table w
SQL怎樣把查詢的結(jié)果保存成一張臨時(shí)表?
如果您的多表查詢是select*from table where condition
那么您想要的句子是
select*into#temp from table where condition
在這里很容易完成。在您的列名和from之間,這里是select*和from,您不能
添加到#臨時(shí)表名中,其他內(nèi)容將不會(huì)更改