SQL1224 is returned during the execution of an SQL procedure
SQL1224 is returned during the execution of an SQL procedure
https://www.ibm.com/support/pages/sql1224-returned-during-execution-sql-procedure
Question & Answer
Question
The execution of an SQL procedure can fail with error SQL1224 if a LOAD command is executed at the same time.
Answer
PROBLEM
The following message might be logged in the db2diag.log during execution of a SQL procedure.
2007-05-02-11.06.17.513639-300 I2535A1111 LEVEL: Error
PID : 43578 TID : 1 PROC : db2agent (SAMPLE) 0
INSTANCE: db2inst1 NODE : 000 DB : SAMPLE
APPHDL : 0-98 APPID: *N0.db2inst1.070502160554
MESSAGE : Severe TERMINATE err at nest lvl 1, in SQL from rtn<
DB2INST1.SELECTROW:
DATA #1 : Hexdump, 136 bytes
0x0000000110362C48 : 5351 4C43 4120 2020 0000 0088 FFFF FB38 SQLCA .......8
0x0000000110362C58 : 0000 2020 2020 2020 2020 2020 2020 2020 ..<<<<<<<<<<<<<<
0x0000000110362C68 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C78 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C88 : 2020 2020 2020 2020 2020 2020 2020 2020<<<<<<<<<<<<<<<<<<<<
0x0000000110362C98 : 2020 2020 2020 2020 5351 4C45 4752 5054 SQLEGRPT
0x0000000110362CA8 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0000000110362CB8 : 0000 0000 0000 0000 2020 2020 2020 2020 ........<<<<<<<<
0x0000000110362CC8 : 2020 2035 3530 3332 55032
CAUSE
The above error indicates that the SQL procedure DB2INST1.SELECTROW failed with SQL1224 because during its execution, a LOAD command using the LOCK WITH FORCE option was issued against the same table that is referenced in the stored procedure. The LOCK WITH FORCE option allows the load command to force off other applications that hold conflicting locks on the target table.
SOLUTION
Execute the SQL stored procedure after the load is complete.
------------------------------------------------------------------------------------------
如果你觉得文章有用,欢迎打赏

SQL1224 is returned during the execution of an SQL procedure的更多相关文章
- JDBC入门学习
Introduction What's JDBC JDBC stands for Java Database Connectivity, which is a standard Java API fo ...
- 1Z0-050
QUESTION 13 View the Exhibit.Examine the following command that is executed for the TRANSPORT table ...
- 非常全面的SQL Server巡检脚本来自sqlskills团队的Glenn Berry 大牛
非常全面的SQL Server巡检脚本来自sqlskills团队的Glenn Berry 大牛 Glenn Berry 大牛会对这个脚本持续更新 -- SQL Server 2012 Diagnost ...
- SQL SERVER中什么情况会导致索引查找变成索引扫描
SQL Server 中什么情况会导致其执行计划从索引查找(Index Seek)变成索引扫描(Index Scan)呢? 下面从几个方面结合上下文具体场景做了下测试.总结.归纳. 1:隐式转换会导致 ...
- HANA SQLScript
数据类型 日期时间类型 DATE(日期) DATE 数据类型由年.月.日信息组成,表示一个日期值. DATA 类型的默认格式为‘YYYY-MM-DD’. YYYY 表示年, MM 表示月而 DD 表示 ...
- GET DIAGNOSTICS Syntax
http://dev.mysql.com/doc/refman/5.7/en/get-diagnostics.html GET [CURRENT | STACKED] DIAGNOSTICS { st ...
- How to DEBUG a trigger or procedure
DEBUGGING STORED PROCEDURES Over the past several weeks, we’ve been working on debugging a stored pr ...
- php.ini
[PHP];;;;;;;;;;;;;;;;;;;; About php.ini ;;;;;;;;;;;;;;;;;;;;; PHP's initialization file, generally ...
- PHP配置详解
[PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; This file controls many aspects of ...
- sql是如何执行一个查询的!
引用自:http://rusanu.com/2013/08/01/understanding-how-sql-server-executes-a-query/ Understanding how SQ ...
随机推荐
- No.1.9
项目样式补充 精灵图(场景:项目中将多张小图片,合并成一张大图片,这张大图片称之为精灵图) (优点:减少服务器发送次数,减轻服务器的压力,提高页面加载速度) 精灵图的使用步骤:1.创建一个盒子,设置盒 ...
- MySQL线程池、连接池等概念
一.MySQL连接池 1 连接池通常实现在client端,是指应用(客户端)预先创建一定的连接,利用这些连接服务于客户端所有的DB请求. 2 如果某一个时刻,空闲的连接数小于DB的请求数,则需要将请求 ...
- Solidity8.0-02
对应崔棉大师 26-40课程https://www.bilibili.com/video/BV1yS4y1N7yu/?spm_id_from=333.788&vd_source=c81b130 ...
- 真的,Web安全入门看这个就够了!
一.HTTP协议 1.HTTP 什么是HTTP? 超文本传输协议,HTTP是基于B/S架构进行通信的,而HTTP的服务器端实现程序有httpd.nginx等,其客户端的实现程序主要是Web浏览器,例如 ...
- spring boot No qualifying bean of type 'org.apache.catalina.core.ApplicationContext' available
发现创建的ApplictionContext对象还没有containsBean的方法, 找了很久没搞定,后面发现原来是包导入错了. 应该导入 import org.springframework.co ...
- Mac技术服务, 感谢 点赞打赏
首先,非常感谢大家对我的支持和鼓励. 如果需要单独解决Mac问题,您也可以选择付费服务,感谢大家的理解与支持! * 普通问题/软件安装:10元--100元每个(根据具体问题由您而定): * 普通问 ...
- shell脚本定时任务转移项目日志
1.之前同时项目部署在根目录,根目录磁盘空间40G,运行一年后日志占了18G的磁盘空间, 根目录只有几个G的磁盘空间,现在写shell脚本定时转移日志文件到挂载的磁盘目录下 2.编写shell脚本 # ...
- CPU性能测试-coremark
测试CPU性能指标会用到 Benchmarks常见的为 Dhrystone 和 CoreMark. CoreMark是一个综合基准,用于测量嵌入式系统中使用的中央处理器(CPU)的性能.它是在2009 ...
- 记录将Base64字符串转化为图片遇到的问题
今天通过与别人写的api交互,获取到了一个原为图片的base64字符串,在网上找到了相互转换的方法,但是在转化时,报出了"输入不是有效的 Base64 字符串,因为它包含非 base 64 ...
- 074_Wrapper_Class
https://developer.salesforce.com/page/Wrapper_Class http://www.sfdcpoint.com/salesforce/wrapper-clas ...