I was referring to Java Constant Field Values and thought if boundary values ( say MIN_VALUE, MAX_VALUE in case of Numeric data types ) can be retrieved for data types using an SQL query.
For example
select
int.signed_min_value as int_sgnd_min,
int.unsigned_min_value as int_usgnd_min,
int.signed_max_value as int_sgnd_max,
int.unsigned_max_value as int_usgnd_max,
int.storage_bytes as int_bytes
from dual;
Should be resulting
+--------------+---------------+--------------+---------------+-----------+
| int_sgnd_min | int_usgnd_min | int_sgnd_max | int_usgnd_max | int_bytes |
+--------------+---------------+--------------+---------------+-----------+
| -2147483648 | 0 | 2147483647 | 4294967295 | 4 |
+--------------+---------------+--------------+---------------+-----------+
Above results are storage and range values defined for MySQL integer data type.
Other data type storage requirements in MySQL are as defined here.
I gave a sample on numeric data type only but I am also expecting a possibility for other data types.
I do am aware that we can only select columns and expressions, but trying to understand if there is such a facility in SQL like in Java and other programming languages.