Closed Thread
Results 1 to 2 of 2

Thread: Age in Years, months & days in SQL Server 2005.

  1. #1
    codehunter is offline Newbie
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Age in Years, months & days in SQL Server 2005.

    I have a field of Date of Birth. Please provide me command/syntax to extract correct Age in Years, months and days all at once for each record as on 30/09/2009 in SQL Server 2005.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Age in Years, months & days in SQL Server 2005.

    Are you wanting them extracted as separate computed fields? If so, check here: DATEPART
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Outputting date in months and days only into a string
    By Aspiring Coder in forum C# Programming
    Replies: 1
    Last Post: 09-13-2011, 10:34 AM
  2. Replies: 0
    Last Post: 07-13-2011, 02:45 PM
  3. Replies: 0
    Last Post: 04-10-2011, 07:53 AM
  4. SQL Server 2005 Express: Cannot connect to Server Name
    By newphpcoder in forum Database & Database Programming
    Replies: 4
    Last Post: 09-28-2010, 08:59 PM
  5. How to connect vb 2005 with SQL Server 2005
    By Ubuntu_monster in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-13-2008, 10:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts