Author: Rohit Umarjikar
Subject: Two Selects in a single select query
Posted: Fri Nov 04, 2016 8:46 pm (GMT 5.5)
Hello,
This is what I am getting, may be I am missing the very basic but trying to know why -2147483648?.
_________________
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]()
Subject: Two Selects in a single select query
Posted: Fri Nov 04, 2016 8:46 pm (GMT 5.5)
Hello,
This is what I am getting, may be I am missing the very basic but trying to know why -2147483648?.
Code: |
select count(4), (select count(5) from sysibm.sysdummy1) from sysibm.sysdummy1 where 1<>1 |
Code: |
1 2 - ----------- 0 -2147483648 |
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
