Pradyumna Posted November 28, 2005 Share Posted November 28, 2005 Hi, Every body, I requiest to all of u plz help me this problem.I am trying to disply only year(ex-2005)I am trying:- Create table pk(Name varchar(20),Address varchar(20),YearOfDOB datetime)insert into pk values('pradyumna','india',1982) When i select table pk then it disply fulldate and time alsoMy question is: I am trying to disply only Yeari wants to disply like this:ex:- Name Address YearOfDOB Pradyumna India 1982 Link to comment Share on other sites More sharing options...
maelstorm Posted November 28, 2005 Share Posted November 28, 2005 HiCheck out this link belowhttp://msdn.microsoft.com/library/default...._ya-yz_0ab6.aspHTH Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now