Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the diffrence between select single * and Select
upto 1 row?

Answer Posted / chittidi

select single f1 f2 f3 ... into <wa> from <dbtab> where
<condition>. this where condition is important to fetch
exact record from database . for thsi purpose we provide
entire primary key combination in whrere conditon.
by using this statement to read exact information .

select f1 f2 f3 .... into <wa> from <dbtab> up to 1 rows
where <condition>
endselect.
it reads the first record found which may not be exact .
the where condition can be part of primary key combination.
it is mainly used to validate the INPUT.

IF WE ARE NOT PASSING ENTIRE COMBINATION OF PRIMARY KEY
IN SELET * SINGLE IT SIMPLY ACTS AS SELECT * UP TO 1 ROWS.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between float and packed data type?

1299


What are the basic functions of database utility? : abap data dictionary

1056


what are the various types of parameters and how are they distinguished from one another?

1158


To find the date difference & excude saturday & sunday in between them

1979


In Smartforms or ADOBE Forms Can we get text from standard table in verticle form? if yes, How?

2294


How do you find number of records present in internal table?

984


What are the functional areas, user groups? How does abap query work in relation to these?

1016


What work you have done in HR module

1312


What is a view in sap? : abap data dictionary

1009


What is synchronous update?

972


What do you mean by batch data communications programming?

929


What is an update task?

1002


any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?

2465


What are different abap/4 editors?

1050


What is your current client number?

1029