adspace
how to truncate date and get only time part 9:20:00
Answer Posted / pari
declare
str varchar2(250);
str1 varchar2(250);
begin
select to_char(sysdate,'dd-mm-yyyy hh:mi:ss') into str from
dual;
dbms_output.put_line (str);
str1 := substr(str,instr(str,' ',1)+1 );
dbms_output.put_line (str1);
end;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to start an oracle instance?
Design database draw er diagram for a certain scenario ?
How to put more than 1000 values into an oracle in clause?
What is oracle latest version?
How to select all columns of all rows from a table in oracle?
How to write a left outer join with the where clause in oracle?
How to use values from other tables in update statements using oracle?
Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com