Am looking for a way to get the maximum value of an integer data type in a function. Since FB doesn't have an unsigned type, casting from -1 doesn't work. Nor can I find any built-in constant or function to get it. Any other ideas? (Am not looking to hardcode any value.)
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Recommended Answers
Jump to PostNot sure if I quite follow p,
I got this info:
INTEGER is a signed 32-bit integer (range –/+ 2,147,483,648)
From http://www.janus-software.com/fbmanual/manual.php?book=psql&topic=29
So I'm assuming you're looking for a function to return that …
All 4 Replies
diafol
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
diafol
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.