Jump to content

Data Type Of Year


Pradyumna

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...