display your age in months?

Answers were Sorted based on User's Feedback



display your age in months?..

Answer / sowmya makkena

select floor(months_between(sysdate,'22-mar-1995')) "age in months" from dual;

Is This Answer Correct ?    1 Yes 0 No

display your age in months?..

Answer / siddharthapenchala

select trunc(months_between(sysdate,'22-mar-1995')/12) as age from dual;

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

Can there be more than one function with a similar name in a pl/sql block?

0 Answers  


What does trigger mean in psychology?

0 Answers  


What are the types of triggers ?

26 Answers   Aspire, BirlaSoft, TCS,


what is the difference between clustered and non clustered index in sql? : Sql dba

0 Answers  


which will fire first ? Trigger or Constraint

24 Answers   i2, IBM,






Is sql a scripting language?

0 Answers  


How to find the count of letter "L" in HELLO

7 Answers   HP,


1 SELECT a.field1, b.field2, c.field3, d.field4 2 FROM atable a, atable b, ctable c, dtable d 3 ? 4 ORDER BY 1 What is the minimum number of joins that must be specified on line 3 in the sample code above to properly link the tables? Notice that the table "atable" is aliased twice: once as "a" and once as "b." 1. One join 2. Two joins 3. Three joins 4. Four joins 5. Five joins

6 Answers   Sonata,


Explain the steps needed to create the scheduled job?

0 Answers  


Is id a reserved word in sql?

0 Answers  


What do you mean by table in sql?

0 Answers  


Is drop table faster than truncate?

0 Answers  


Categories