Data Type of the Target Column and Data Type of the Value to be Inserted
Let C be a target column and v a value that is not equal to the NULL
value.
v is to be inserted in C by means of an INSERT statement.
v is to be used to modify C with an UPDATE statement.
Target Column C |
Required Value for v |
|---|---|
Numeric column |
Number within the permissible range of C. INSERT statement: If v is the result of a UPDATE statement: If v is the result of an |
Alphanumeric column with the code
attribute |
Character string whose length is not greater than the length attribute of C. Subsequent blanks are ignored when the length of v is calculated. If the length of v is shorter than the length attribute of C, then v is lengthened by the corresponding number of blanks. |
Alphanumeric column with the code attribute |
Hexadecimal character string whose length is not greater than the length attribute of C. Subsequent binary zeros are ignored when the length of v is calculated. If the length of v is shorter than the length attribute of C, then v is lengthened by the corresponding number of binary zeros. |
Data type |
Date value in the current date format. |
Data type |
Time value in the current time format. |
Data type |
Time stamp value in the current time stamp format. |
Data type |
One of the values |