2006 Mar 23 8:17 AM
i heard that select---endselect it not good for performance.
how i can edit to it table with select single
2006 Mar 23 8:24 AM
u can use
select xxx from dbtab into <b>TABLE</b> itab where xxx
hope it helps,
Regards,
Bikash
hi,
look in online-docu for:
select (fields) from dbtable into itab
where ....
or if you search a single item:
select single field from dbtable into hfield
where .... (complete primary key)
Andreas
2006 Mar 23 8:24 AM
hi,
look in online-docu for:
select (fields) from dbtable into itab
where ....
or if you search a single item:
select single field from dbtable into hfield
where .... (complete primary key)
Andreas
2006 Mar 23 8:24 AM
Hello Rani,
you can try to collect data in a internal table with where condition and read from internal table.
regards,
Kinshuk
2006 Mar 23 8:24 AM
u can use
select xxx from dbtab into <b>TABLE</b> itab where xxx
hope it helps,
Regards,
Bikash
2006 Mar 23 8:26 AM
hi Rani,
as an alternative of that you can use
Select * <b>from mara into table Itab</b> Where Matnr = '000000000000000038'...
Regards,
Santosh
2006 Mar 23 8:32 AM
Hi Rani,
Use select Fields from database table to itab where condition.
or
select * from dbtable into itab where condition.
i think this will help u out Rani..
Thanks,
Regars,
Sreevani
2006 Mar 23 9:27 AM
1) avoid select *, always type in the columns you need.
2) make extremly use of the where condition, do nout use check of if statements so filter data. Aoid evry unnecassry transfer from database to applaction server.
3) if you only need one row, use select single. in that case, you have to specify the whole primary key in the where condition.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |