|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
各位大佬,U810.1升级11.0的日志是这样的,报错是什么原因?
数据库名: UFDATA_888_2012
D:\U8SOFT\Admin\SQLFILE10100\Main\Ufdata\data\NL\data_data_pb_report_nl__up.sql
错误信息:
-2147217900
资源池“default”没有足够的系统内存来运行此查询。
执行如下语句时出错:
declare @ufmeta nvarchar(10)
select top 1 @ufmeta='UFMETA_'+cAcc_Id from UFSystem..UA_AccountDatabase where cdatabase=DB_NAME()
if exists(Select 1 From Master..SysDatabases where name=@ufmeta)
begin
if OBJECT_ID(@ufmeta+'..UAP_ReportStaticRpt')>0
begin
select CONVERT(nvarchar(100),'') as name into #dropUFTmpTable where 1=0
exec('insert into #dropUFTmpTable(name) select ''drop table ''+name as name from sysobjects
where name like ''UFTmpTable%'' and LEN(name)=46 and name not in( select id from (
select id from '+@ufmeta+'..UAP_ReportStaticRpt union select staticid id from UAP_Report_StaticReport) a)')
declare @sql nvarchar(100)
declare rstTemp cursor forward_only for select name from #dropUFTmpTable
open rstTemp
fetch next from rstTemp into @sql
WHILE (@@fetch_status=0)
begin
--print @sql
exec(@sql)
fetch next from rstTemp into @sql
end
close rstTemp
deallocate rstTemp
drop table #dropUFTmpTable
end
end
|
|