当前位置:网站首页>关于使用read table 语句
关于使用read table 语句
2022-08-04 23:48:00 【月阴荒】
https://www.cnblogs.com/BruceKing/p/10716856.html
READ table 是用来遍历内表,取第一条符合条件的记录。
READ TABLE [INTO ] WITH KEY [BINARY SEARCH].
WITH KEY 中的检索条件比较符不能使用 ‘<>’ (不等于)
如果只想取得内部表中不等于某条件的一条记录,那么请使用下面的变通方法
LOOP AT itab WHERE KEY <> ‘XX’
此处取得第一条记录。
EXIT.
ENDLOOP.
如果在运行时 值为空,则统一忽略该关键字段。另外可对关键字段指定偏移量和长度。
边栏推荐
猜你喜欢
![[Happy Qixi Festival] How does Nacos realize the service registration function?](/img/df/5793145da45bc80d227b0babfac914.png)
[Happy Qixi Festival] How does Nacos realize the service registration function?

uniapp 分享功能-分享给朋友群聊朋友圈效果(整理)

统计单词(DAY 101)华中科技大学考研机试题

深度|医疗行业勒索病毒防治解决方案
Handwritten Distributed Configuration Center (1)

Go 语言快速入门指南:什么是 TSL 安全传输层

MySQL的安装与卸载

为何越来越多人选择进入软件测试行业?深度剖析软件测试的优势...

三、实战---爬取百度指定词条所对应的结果页面(一个简单的页面采集器)

PID Controller Improvement Notes No. 7: Improve the anti-overshoot setting of the PID controller
随机推荐
LeetCode Hot 100
未上市就“一举成名”,空间媲美途昂,安全、舒适一个不落
从单体架构迁移到 CQRS 后,我觉得 DDD 并不可怕
游戏3D建模入门,有哪些建模软件可以选择?
MVCC是什么
Nuclei (2) Advanced - In-depth understanding of workflows, Matchers and Extractors
golang 协程的实现原理
情侣牵手[贪心 & 抽象]
Detailed explanation of common DNS resource record types
零基础如何入门软件测试?再到测开(小编心得)
IDEA 文件编码修改
容联云发送短信验证码
资深游戏建模师告知新手,游戏场景建模师必备软件有哪些?
How to burn the KT148A voice chip into the chip through the serial port and the tools on the computer
DNS常见资源记录类型详解
一、爬虫基本概念
@Async注解的作用以及如何实现异步监听机制
PID Controller Improvement Notes No. 7: Improve the anti-overshoot setting of the PID controller
Go 语言快速入门指南:什么是 TSL 安全传输层
ClickHouse 二级索引