rom #tc
212
213
214
215
select * into ##tx from #tc order by tablename
216
217
drop table #tc
218
219
220
221
--select * from ##tx
222
223
224
225
declare @db nvarchar(60),@sql nvarchar(3000)
226
227
set @db=db_name()
228
229
--请修改用户名和口令 导出到excel 中