By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

What datatype should i use for year?

P: 50
hi..i am creating a table where i have a file "year", wat datatype shud i use as i only want the year and not the full date
Mar 14 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
hi..i am creating a table where i have a file "year", wat datatype shud i use as i only want the year and not the full date
If you mean "column year" you can use any of numerc datatypes (numeric, int,...) see all at postgresql.org
Mar 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.