‎2008 Mar 26 9:41 AM
Hi ,
I need to check the first char of a table field in a query.
i now that on global filed i can do like this:
IF name(1) = '7'.
do something.
ENDIF.
How can i do that here :
SELECT carrid connid fldate seatsocc seatsmax
FROM sflight
INTO CORRESPONDING FIELDS OF wa_flight
WHERE left (carrid,1) = '7'
Thanks.
‎2008 Mar 26 9:49 AM
Hi,
If your requirement is just fetching the records which starts from 7 then you can use the Like clause in the select query.
HTH
Regards,
Dhruv Shah
‎2008 Mar 26 9:45 AM
You cant. You need to read the table field into a working field then check it there.
You cannot use offset values for select statements.
‎2008 Mar 26 9:49 AM
Hi,
If your requirement is just fetching the records which starts from 7 then you can use the Like clause in the select query.
HTH
Regards,
Dhruv Shah