[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Indices starting from non-1 (Was: Killa: a scripting language ...)
- From: Petite Abeille <petite.abeille@...>
- Date: Thu, 28 Feb 2013 22:44:45 +0100
On Feb 28, 2013, at 10:24 PM, Egor Skriptunoff <firstname.lastname@example.org> wrote:
> In Oracle DB all operations with INTEGER data type are slower than the
> same operations with NUMBER data type.
> This is because INTEGER is a subtype of NUMBER.
> A subtype is actually the same as base type but with additional
> constraints, which should be checked on every step.
( … getting a bit off topic, but... )
Hmmm… not to be picky… but… in Oracle … at the SQL level… there is only one number type (ignoring floats for the sake of argument)… with different levels of precision… and that's that… i.e. 'INTEGER' is an alias for NUMBER( 38 )…
But perhaps you are thinking about PL/SQL data types? Which is a different kettle of fish altogether… anyhow… this is not helping much with Lua number type :)