March 2012
Intermediate to advanced
442 pages
9h 31m
English
Typecasting is very common in application development. It means changing the data type from one to another. This is required in assignment operations and comparisons.
The necessity of type casting lies in the database or programming language. In this section, we will only focus on databases. Prior to DB2 9.7, databases supported strong typing for comparisons and assignments. For example, you could assign only an integer value to an integer data type. It didn't allow you to assign any other numeric data type to an integer variable without casting it to the integer explicitly. This restriction is known as strong typing.
Starting from DB2 9.7, it indirectly supports weak typing (from a user's point-of-view) ...
Read now
Unlock full access