how to get required data from oracle
source is like this
ram_05_seetha
lax_05_viswa
bamr05frummy
run_01_away
sw_sas_trim

i want my target data like
ram_05_seetha
lax_05_viswa

to get data using %_05_%
but it will give
ram_05_seetha
lax_05_viswa
bamr05frummy

how can i get my target data?



how to get required data from oracle source is like this ram_05_seetha lax_05_viswa bamr05frummy..

Answer / mukesh

select source_field from


(select rownum rn,source_field from source_data
) where rn In(1,2)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Oracle General Interview Questions

what is difference between where clause and having clause?

13 Answers  


The join defined by the default data link is an outer join yes or no ?

1 Answers   Oracle,


In which language oracle has been developed?

0 Answers  


How to assign data of the deleted row to variables?

0 Answers  


What is an oracle transaction?

0 Answers  






How to use "startup" command to start default instance?

0 Answers  


What is tablespace in oracle? how can we create? how is it manage? . . . Thnx 2 All in Advnc....:)

3 Answers  


Is it possible to insert comments into sql statements return in the data model editor ?

0 Answers   Oracle,


what is the syntax of DELETE command?

8 Answers  


What is Row Chaining ?

3 Answers   Cognizant, CTS,


What is a nvl function? How can it be used?

0 Answers  


Difference between open_form and call_form in oracle.

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)