由于数据库不同可能对应的SQL语句也不相同,请试试下面语句:
select * from SourceTable into #tmp where false

select * into #tmp from  SourceTable where false