I need to find the MIN/MAX or values of type "REAL" in a database with lots of tables.
I was able to find the names of all the columns(fields) that were of type "REAL" using a stored procedure.
1. How to store that query result into a temp table within the same stored procedure?
2. How do I then iterate thru that temp table (of column names) to find the MIN/MAX values of each column?
I ultimately need the MIN/MAX values that are of type "REAL" from each column in all the tables in the database.