![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anyone advise me if there is a standard rule of thumb used for the storage of numeric data with a particular datatype? For example, numeric data which is used in a calculation (e.g. phone number, health card number, etc) - is the preferred method to store as a character rather than numeric? There are still some dinosaur systems in place and I have a task to extract data from a Pick based system (in which everything is stored as text) and upload it to an Oracle database. The vast majority of my experience has been interacting with the Pick database so I guess that makes me a bit of a dinosaur also. Many thanks for your responses. Regards, Ian |
#3
| |||
| |||
|
|
Can anyone advise me if there is a standard rule of thumb used for the storage of numeric data with a particular datatype? For example, numeric data which is used in a calculation (e.g. phone number, health card number, etc) - is the preferred method to store as a character rather than numeric? |
|
There are still some dinosaur systems in place and I have a task to extract data from a Pick based system (in which everything is stored as text) and upload it to an Oracle database. The vast majority of my experience has been interacting with the Pick database so I guess that makes me a bit of a dinosaur also. |
|
Many thanks for your responses. |
#4
| |||
| |||
|
|
Can anyone advise me if there is a standard rule of thumb used for the storage of numeric data with a particular datatype? For example, numeric data which is used in a calculation (e.g. phone number, health card number, etc) - is the preferred method to store as a character rather than numeric? There are still some dinosaur systems in place and I have a task to extract data from a Pick based system (in which everything is stored as text) and upload it to an Oracle database. The vast majority of my experience has been interacting with the Pick database so I guess that makes me a bit of a dinosaur also. Many thanks for your responses. Regards, Ian |
#5
| |||
| |||
|
|
Distinguishing between a "number" and a "string of digits" can get to be a bit of a philosophical exercise. Those of us who grew up writing numbers on paper are used to using strings of digits to represent numbers, and we tend to think of them as the same thing. |
#6
| |||
| |||
|
|
Laconic2 <laconic2 (AT) comcast (DOT) net> wrote: Distinguishing between a "number" and a "string of digits" can get to be a bit of a philosophical exercise. Those of us who grew up writing numbers on paper are used to using strings of digits to represent numbers, and we tend to think of them as the same thing. One way to discern whether a datum is a quantity or just a bunch of figures is to ask: Would this datum mean the same thing if I were to write it in hexadecimal? For instance, if I record a temperature as 37 degrees (in decimal), that 37 means the same thing as hexadecimal 25. But if my phone number is 4139877654, it doesn't make any sense to say this is hex F6C18516. |
#7
| |||
| |||
|
|
"Karl A. Krueger" <kkrueger (AT) example (DOT) edu> wrote: Laconic2 <laconic2 (AT) comcast (DOT) net> wrote: Distinguishing between a "number" and a "string of digits" can get to be a bit of a philosophical exercise. Those of us who grew up writing numbers on paper are used to using strings of digits to represent numbers, and we tend to think of them as the same thing. One way to discern whether a datum is a quantity or just a bunch of figures is to ask: Would this datum mean the same thing if I were to write it in hexadecimal? For instance, if I record a temperature as 37 degrees (in decimal), that 37 means the same thing as hexadecimal 25. But if my phone number is 4139877654, it doesn't make any sense to say this is hex F6C18516. You know you are a computer nerd when... ...you verify the above conversion to hexadecimal. |
|
Gene "Guilty as Charged" Wirchenko |
#8
| |||
| |||
|
|
You know you are a computer nerd when... ...you verify the above conversion to hexadecimal. |
#9
| ||||
| ||||
|
|
On Fri, 23 Jul 2004 15:29:40 -0700, Gene Wirchenko genew (AT) mail (DOT) ocis.net> wrote: |
|
You know you are a computer nerd when... ...you verify the above conversion to hexadecimal. If you mean you verified in your head that 37 decimal = 25 hex, then I agree. If you mean that you verified that 4139877654 decimal = |
|
F6C18516 hex then I think that's more than nerd and is getting into ... well, let's not go there, ok? |
|
Gene "Guilty as Charged" Wirchenko Like I said ... let's not go there. Lemming -- Curiosity *may* have killed Schrodinger's cat. |
![]() |
| Thread Tools | |
| Display Modes | |
| |