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: 

how to select number field starting with 99

Former Member
0 Kudos

Hi Freinds-

I have to pick values for a number field but i want only those values which starting with 99

how i can put code in select query for this ?

Regards

Meeta & Ruby

7 REPLIES 7

Former Member
0 Kudos

hi.

SELECT * FROM pa0001

WHERE kunnr LIKE '29%'

former_member222860
Active Contributor
0 Kudos

Hi,

Select fieldname into table itab from dbtable 
where fieldname like '99%'.

thanks\

Mahesh

Former Member
0 Kudos

Hi,

Hope this will help u.

Select <ur field> from <tablename> into table <internal table>

where <fieldname> like '99%'.

Thanks.

0 Kudos

Hi meeta,

If you are fetching data from table you can use the below SQl statement.In where condition you need to mention as below.

Select <ur field> from <tablename> into table <internal table>

where <fieldname> like '99%'.

Regards,

Dwara..

I355602
Advisor
Advisor
0 Kudos

Hi,

Use the query as:-


select
   <field1>
   <field2>
from <database_table>
into table <internal_table>
where
   <field_name> like '99%'.

Hope this solves your problem.

Thanks & Regards,

Tarun Gambhir

Former Member
0 Kudos

Select fieldname

from dbtable

into table itab

where fieldname like '99%'.

Regards,

Joan

former_member222860
Active Contributor
0 Kudos

Hi,

Are u justified / happy with the points awarded!!!

Cheers\

Mahesh

Edited by: Mahesh Reddy on Jan 19, 2009 2:09 PM