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: 

select query

former_member487858
Active Participant
0 Kudos

Hi ,

I want to retrieve all the records whose objid field begins with 'X'

If I give the following query its not working.

select * from table into itab where objid like 'X'.

Swarna.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

use the following,

select * from <table> into table <int table> where <fldnam> like 'X%'.

all d best.

2 REPLIES 2

Former Member
0 Kudos

hi,

use the following,

select * from <table> into table <int table> where <fldnam> like 'X%'.

all d best.

Former Member
0 Kudos

hi,

use the following,

select * from <table> into table <int tab> where objid like 'X%'.

all d best.