Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Comparing Decimal and CHAR columns

$
0
0
Author: Rohit Umarjikar
Posted: Thu Oct 20, 2016 3:10 am (GMT 5.5)

Learn SQL Syntax
Code:
col1=CAST(col2 AS dec(17))

_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles