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
Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?
Where the sql logs gets stored? : sql server database administration
How to create an index on a view?
How to get nth highest salary from employee table.
How do we Backup SQL Azure Data?
What is the difference between dropping a database and taking a database offline?
What new data source types were added in ssrs 2014?
What are user-defined functions (udfs) in sql server?
Can you leave a union at any time?
How to update muliple row in single query?
what is raid? : Sql server database administration
Can we do dml on views?
What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?
How to generate create table script on an existing table in ms sql server?
Explain comment on transactions?