Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding the select query

Former Member
0 Kudos

Hi all,

I need to fetch the documents from the database table where the

field <b>f1</b> equal to SPACE or in f1 column the records should start

with either 03 or 01.

can any one suggest how to pickup the records which should start with

either 03 or 01 from the database table.

any suggestion will be rewarded.

Regards

cnu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Do like this

Select f1 f2 f3 from DB Table into ITAB where F1 like '03%' or F1 like '01%' or F1 = ' '.

Reward if this helps,

Satish

1 REPLY 1

Former Member
0 Kudos

Hi,

Do like this

Select f1 f2 f3 from DB Table into ITAB where F1 like '03%' or F1 like '01%' or F1 = ' '.

Reward if this helps,

Satish