| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Implementation of boolean types.
Nod. Seems char(1) takes less space than number;
SQL> select dump(x) from tt1;
DUMP(X)
SQL> desc tt1
Name Null? Type ----------------------------------------- --------
----------------------------
X NUMBER
SQL> select dump(x) from tt2
2 ;
DUMP(X)
SQL> desc tt2
Name Null? Type ----------------------------------------- --------
----------------------------
X CHAR(1)
But how about the speed when do equal search, order by or other operations? Received on Fri Jul 15 2005 - 04:57:28 CDT
![]() |
![]() |