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 / rajesh k. gupta

The answer submitted by Santhi K is wrong, Can shanti test
this query in sql server, because i ran it it does not
accept. there is no such months_between function

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if null values are involved in arithmetic operations?

763


What is extent? Types of extents?

789


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

817


How to create new tables with "create table" statements in ms sql server?

757


What is a domain constraint give an example?

780






IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1554


Explain logical operators in sql server?

741


Difference between LEN() and DATALENGTH() in sql server ?

799


Explain what is lock escalation and what is its purpose?

681


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

755


What are the five characteristics of good data?

680


How do you create type- insensitive operator?

727


What is the difference between NOROW and LOCKROW?

2479


How many types of relations are there between dimension and measure group? : sql server analysis services, ssas

937


What is temporary table in sql server? Why we use temp table?

703