we have emp table like Ename,EDOJ,EDOB with Column
structure.but we want to know the employee Age.How? Any
Body Plz
Answer Posted / santhi k
select trunc(months_between(Sysdate,EDOB)/12)Age from emp;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain encryption of entire databases without the need for application changes in sql server 2008?
What are acid properties of transaction?
What is merge replication?
Write query to return all rows sql?
what is the main function of a query parameter?
Explain a checkpoint?
Explain indexes disadvantages?
What is default port number for sql server 2000?
What are the advantages to use stored procedures?
Can we use where clause in union?
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
What is query cost in sql server?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
How do I know if localdb is running?
How can a user-defined datatype be created?