重现步骤

[步骤]

(N'AE',N'11601269031,11601270031,12355817031,12355926031,12356500031,12357308031'), (N'NL',N'16242287031,16242288031,16558149031,16558229031,16558360031,22501953031'), (N'SG',N'
8107749051,8107750051,6640358051,6809155051,6809177051,6809177051'), (N'BR',N'18914209011,18914210011,19701558011,19701561011,19701594011,19701751011'), (N'SA',N'12463390031,12463391
031,16620323031,16620397031,16620734031,85449930031'), (N'SE',N'20513137031,20513138031,20650791031,20650913031,20651226031,20651226031'), (N'TR',N'12466724031,12466725031,1270712603
1,12707213031,12707685031,12708457031'), (N'PL',N'20658724031,20658725031,20852524031,20852586031,20852756031,27007857031'), (N'BE',N'27157201031,27157202031,27780371031,27780418031,
27780588031,27781482031'), (N'GB',N'79903031,79904031,1939527031,1939532031,1939538031'), (N'JP',N'2016929051,2016930051,17622473051,17622476051,17622480051'), (N'CA',N'3006902011,30
06903011,3111953011,3111955011,9716456011'), (N'MX',N'9482670011,9482671011,9829579011,9829630011,9829635011'), (N'NL',N'16242229031,16242230031,16418934031,16419003031,16419331031')
, (N'SA',N'16636960031,16636961031,16973648031,16973732031,16620391031,85449763031'), (N'SE',N'20513080031,20513081031,20636756031,20636793031,20636866031'), (N'BE',N'27157201031,271
57202031,27780371031,27780423031,27780622031') select r.ID,r.Country,r.BrowsePathByID,r.ImageUrl,r.ProductRank,r.TranslateTitle
from E_Amazon_BrowseTree_RankCollect(nolock)r
INNER JOIN @F_Node temp ON temp.Country = r.Country and temp.BrowsePathByID = r.BrowsePathByID
WHERE r.ProductRank = 1
PARAMS:
MESSAGE:The number of row value expressions in the INSERT statement exceeds the maximum allowed number of 1000 row values.
TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject s
tateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncry
ption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boole
an asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion,
Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)
在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, S
tring sql, SqlParameter[] cmdParms)
在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
在 RB.DALExtendV2.E_Amazon_BrowseTree_RankCollectExtendV2.GetRankCollectListBestseller(List`1 NodeList)
在 PandaBuy.ERP.Web.IrobotBox.Amazon.AmazonBrowseTreeMappingV2.bindData()
在 PandaBuy.ERP.Web.IrobotBox.Amazon.AmazonBrowseTreeMappingV2.Page_Load(Object sender, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest()
在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
在 System.Web.UI.Page.ProcessRequest(HttpContext context)
在 ASP.irobotbox_amazon_amazonbrowsetreemappingv2_aspx.ProcessRequest(HttpContext context)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

[结果]


[期望]

修复SQL 异常

历史记录  
  1. 2023-11-09 10:09:24, 由 袁慧斌 创建。
  2. 2023-11-09 10:09:56, 由 李乐同 指派给 王翔宇。
    修改了 指派给,旧值为 "liletong",新值为 "wangxiangyu"。
  3. 2023-11-09 10:51:58, 由 王翔宇 指派给 李荣刚。
    修改了 指派给,旧值为 "wangxiangyu",新值为 "lironggang"。
  4. 2023-11-09 10:53:13, 由 李荣刚 解决,方案为 重复BUG #42625 E_Amazon_BrowseTree_RankCollect 。
    修改了 解决方案,旧值为 "",新值为 "duplicate"。
    修改了 重复ID ,旧值为 "0",新值为 "42625"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-11-09 10:52:53"。
    修改了 指派给 ,旧值为 "lironggang",新值为 "yuanhuibin"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "lironggang"。
  5. 2023-11-10 18:12:20, 由 袁慧斌 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yuanhuibin",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yuanhuibin"。
    修改了 关闭日期,旧值为 "",新值为 "2023-11-10 18:12:20"。
  6. 2023-11-17 09:30:49, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1743",新值为 "1848"。
  7. 2023-11-17 09:53:50, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1848",新值为 "1863"。
所属项目 技术中心-需求池
所属模块 系统运维   性能优化
所属计划
所属迭代
Bug类型
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2023-11-10 18:12:20
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2023-11-09 10:09:23
影响环境 577
由谁解决 李荣刚 于 2023-11-09 10:52:53
解决版本 主干
解决方案 重复BUG #42625:E_Amazon_BrowseTree_RankCollect
由谁关闭 袁慧斌 于 2023-11-10 18:12:20
最后修改 刘超 于 2023-11-17 09:53:48
相关Bug