Processing bulk copy values  Numeric datatypes

Chapter 9: Using Bulk Copy Transfer and Express Transfer

Character datatypes

Character datatypes (CHAR, VARCHAR, TEXT) can be converted to any other datatype. Conversely, every datatype can be converted to character data. You must verify that the character string is able to be converted to the target datatype.

For example, the character string “450” can be converted to a numeric datatype such as INTEGER or DECIMAL, but the character string “Hello” causes a value error going to a numeric datatype.





Copyright © 2005. Sybase Inc. All rights reserved. Numeric datatypes

View this book as PDF