select hkont from bseg into table itab_bseg where ( hkont like '1001%' or hkont like '1002%' ).中%是什么意思

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/28 01:33:25

select hkont from bseg into table itab_bseg where ( hkont like '1001%' or hkont like '1002%' ).
中%是什么意思

%是通配符,代表任意多个字符
这句中用like + 通配符来进行模糊查询,查询hkont 以1001和1002开头的资料.