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 / monal
FOR SQL 2005:
select datediff (day, birthdate, getdate())/365 from emp
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is a partition function in sql server?
What is the meaning of lock escalation and why/how to stop this? : sql server database administration
What is collation sensitivity?
What are the difference between data mart and data warehouse? : sql server analysis services, ssas
What are the events recorded in a transaction log?
Explain the dirty pages?
Do you know hot add cpu in sql server 2008?
Explain about service Broker functions?
What is merge replication?
What security features are available for stored procedure?
What are locks in sql?
What is a trigger? Why we need it?
What is the difference between functions and scalar functions?
Distinguish between commit and rollback?
How to throw custom exception in Stored Procedure?