Congratulations to all the winners of April 2013
, they have won INR 3400 cash and INR 20147 worth prizes !
Home
Freshers
Career Advice
Articles
Interviews
Videos
Forums
Codes
Blogs
Jobs
ASP.NET MVC
Community
Jokes
Chat
MVPs
|
ASP.NET, WPF, SSIS etc. tutorials
|
Catalog
|
Coding Horror
|
Downloads
|
Quick Links
|
Top Posts
|
Top Authors
|
.NET News
|
Bookmarks
|
Search
|
Subscribe
Online : 5075 | Welcome, Guest!
Register
Login
Home
>
Code Snippets
>
SQL Server
> AGE OF AN EMPLOYEE ...
FREE video tutorials
Winners
Winners & Prizes
Announcements
Like us on Facebook
Codes Categories
ASP.NET Codes
ASP.NET AJAX Codes
C# Codes
Cloud Codes
CSS Codes
Error and Resolution Codes
HTML Codes
HTML 5 Codes
JavaScript Codes
jQuery Codes
LINQ Codes
Mobile Development Codes
News and Community Codes
Others Codes
Pattern and Practices Codes
PowerShell Codes
Regular Expression Codes
Silverlight Codes
SQL Server Codes
VB.NET Codes
WCF Codes
Windows Forms Codes
WPF Codes
Top Codes Authors
Sun, 19-May-2013 Authors
All Time Authors
7960
6200
5800
Latest members
|
More ...
(Statistics delayed by 5 minutes)
See Also ...
AGE OF AN EMPLOYEE
Code Snippet posted by:
CGN007
| Posted on: 5/30/2012 | Category:
SQL Server Codes
| Views: 400 | Status:
[Member]
|
Points: 40
|
Alert Moderator
Tweet
Submit Code
|
Search Codes
|
Code Home
|
SELECT emp_name,DATEDIFF(YEAR,emp_dob,getdate())AS DOB FROM employee
Found interesting? Add this to:
Tweet
|
More
 | 
Bookmark It
Responses
Posted by:
Ras90it
| Posted on: 5/30/2012 | Level:
Starter
| Status:
[Member]
|
Points: 10
|
Alert Moderator
here what is emp_name, DATEDIFF, YEAR, emp_dob, getdate() as DOB ???
can u explain in detail with syntax?
by using this state what will the the O/P with sample???
by
Raseeth.A
>>
Write Response
- Respond to this post and get points
More codes snippets
SECOND LARGEST SALARY OF AN EMPLOYEE
Press 'Enter' key for OK
MS Word's Replace All Function in VB .NET
Close & New MSWord Document using VB .NET
XMl Parsing Error Resolved special character & , ', %,$ #,<>
Split function for more than one parameter...
Comma seperated values using SQL Server using Query...
How to unlock tables which is lock in SQL SERVER or how to Kill SPID=-2
How to count number of tables,sps,function or views exist in Database.....
Submit Code
|
More ...
About Us
|
Contact Us
|
The Team
|
Advertise
|
Software Development
|
Write for us
|
Testimonials
|
Privacy Policy
|
Terms of Use
|
Link Exchange
|
Members
|
Go Top
General Notice:
If you find
plagiarised (copied)
contents on this page, please
let us know
the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/19/2013 9:04:10 PM