更新时间:2023-11-23 08:29:34
select * into #temp_table from current_table_in_stored_procedure #temp_table - locally temp ##temp_table - globally temp select top 0 * into #temp_table from current_table_in_stored_procedure to have empty table
在 SQL Server 2005/2008 中创建一个类似于当前表的临时表