SYSTEM.DATA.SQLTYPES So implicit coercion makes code easier to

SYSTEM.DATA.SQLTYPES So implicit coercion makes code easier to read and requires less typing, but implicit coercion should never lose precision, and not all SqlTypes can be implicitly coerced from one to another. Table 3-3 shows the implicit coercions between SqlTypes that are available. The left column and first row lists each SqlType. An X in a column indicates that the SqlType named in the first column can be implicitly coerced to the SqlTypelisted at the top of the column. For example, it shows that a SqlDecimal can be implicitly coerced to a SqlDecimal, a SqlDouble, and a SqlSingle. Table 3-3: Implicit SqlType Coercions SqlBinarySqlBooleanSqlDateSqlDateTimeSqlDecimalSqlDoubleSqlGuidSqlByteSqlInt16 SqlInt32 SqlInt64SqlMoneySqlSingleSqlStringSqlTimeSqlXML Reader SqlBinary X SqlBoolean X SqlDate X SqlDateTime X SqlDecimal X X X SqlDouble X SqlGuid X SqlByte X X X X X X X X SqlInt16 X X X X X X X SqlInt32 X X X X X X SqlInt64 X X X X X SqlMoney X X X X SqlSingle X X SqlString X SqlTime X SqlmlReader X

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services

Bookmark the permalink.

Comments are closed.