If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Two data types in the one field?
In a database is it possible to have two data types in the one field?
For a currency field, can a small text identifier be included in this field to differentiate between several identical sums.? |
Ads |
#2
|
|||
|
|||
Two data types in the one field?
Peter Jason wrote:
In a database is it possible to have two data types in the one field? For a currency field, can a small text identifier be included in this field to differentiate between several identical sums.? Only if the field is defined as a string I.e. VARCHAR. But then that's not very useful as then you can't do queries based on value comparison like give me all rows 100. You're best to add an additional column with the descriptor. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|