三国纷争
是的:WITH tab ( bla bla)INSERT INTO dbo.prf_BatchItemAdditionalAPartyNos ( BatchID, AccountNo,APartyNo,SourceRowID) SELECT * FROM tab请注意,这是针对SQL Server的,它支持多个CTE:WITH x AS (), y AS () INSERT INTO z (a, b, c) SELECT a, b, c FROM yTeradata仅允许一个CTE,并且语法示例。