|visits||member for||2 years, 7 months|
|seen||Feb 25 '14 at 18:14|
Improve performance with the WHERE NOT IN sub-select clause
I have to exclude from the result set entirely, customers that have a transaction older than one year.
According to the SQL92 spec, can I store the value 1 in a field where the precision = scale?
That is what we were thinking. We were confused when we were able to store the value 1 in a column like this in Firebird version 1.2 and version 2.5. This SQL returns 1 => SELECT CAST(1 AS DECIMAL(3,3)) FROM RDB$DATABASE