select * into temp_xchbudget from xchbudget sp_dboption must be set accordingly (See books online)