Hi,
I have 2 questions.
1. I need to define a column in one of my postgresql table. This column can have integer values from 1-999. Which is the best datatype, varchar or smallint?Considering the disk space occupied.
2. Is it possible to have custom built value for a column of type SERIAL. For ex: can I have a customerid as x61,x62 ?(the interger part should increment automatically).
I have 2 questions.
1. I need to define a column in one of my postgresql table. This column can have integer values from 1-999. Which is the best datatype, varchar or smallint?Considering the disk space occupied.
2. Is it possible to have custom built value for a column of type SERIAL. For ex: can I have a customerid as x61,x62 ?(the interger part should increment automatically).