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
Difference between the “verify” and “feedback” command?
What to do if the startbd.bat failed to start the xe instance?
Explain an exception and its types?
Why do we need integrity constraints in a database?
How many categories of data types in oracle?
How to load excel data sheet to oracle database
Explain a data segment?
How can I get column names from a table in oracle?
What is the difference between online and offline backups?
How to test null values?
What is using clause and give example?
How to create a table interactively?
What is parameterized cursor in oracle?
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
How to create lov dynamically at runtime & attach to text field?