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 / mohamed shafee
select left(filename,6),data from table1
or
select convert(varchar(6),filename),data from table1
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to insert a record into a table?
How to get last row id?
How to concatenate two text values in oracle?
What is max rowid in oracle?
How to use windows user to connect to the server?
> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?
What is the recommended interval at which to run statspack snapshots, and why?
In the oracle version 9.3.0.5.0, what does each number shows?
How to export your own schema?
Explain alias?
How to view existing locks on the database?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
What is a package ? What are the advantages of package ?
Explain the use of show option in imp command.
what are steps for interface? where is exchange rate defined in which table?