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...

Table1- have two column
filename data
AFGDFD-20112011 hi how r u
bsdasd-23042011 name shoud be in bold
Now i want output like
filename data
AFGDFD hi how r u
bsdasd name shoud be in bold

Kindly answer this

Answer Posted / ajit nayak

select substr(filename,1,instr(filename,'-',1,1) - 1) from dual;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Briefly explain what is literal? Give an example where it can be used?

1090


I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

2384


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

1065


What is meant by an index?

1224


How to get a create statement for an existing table?

1016


Explain drop constraint oracle?

1121


Why oracle is used?

1108


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

2066


Differentiate between function and procedure in oracle.

1154


How do I know if oracle client is installed on windows?

1095


What is columnar storage what is the advantage?

1121


what is normalisation?what are its uses?

2334


Explain the use of rows option in exp command.

1149


What to do if the startbd.bat failed to start the xe instance?

1128


What is the difference between 10g OEM and 11g OEM?

1017