Article View: borland.public.delphi.database
Article #2035Filter bits from Numeric Field with SQL?
From: Yves Vermeersch
Date: Fri, 02 Apr 1999 00:00
Date: Fri, 02 Apr 1999 00:00
21 lines
1121 bytes
1121 bytes
Hi, I'm redesigning the databasestructure and need 130 boolean values. To decrease the size of the datastructure I want to use 5 integer fields and apply bitwise operators. The statement should be something like (it doesn't work): select TrackTitle, Artist from track T join Crit1 C on (T.DISCID = C.DISCID) where ((Extra1 and $00100000) = $00100000) The operator "and" should here be bitwise instead of logical. Does anyone have an idea how to use bitwise operaters in a sql-statement or how to call a external function in the where - clause ? I use paradox tables in Delphi 4 Thanks in advance Yves Vermeersch
Technical Details
Message-ID:
<3704783a$0$13028@news2.zeelandnet.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115d96,a42fb22acdc745a2,start X-Google-Attributes: gid115d96,public From: "Yves Vermeersch" <yves@zeelandnet.nl> Subject: Filter bits from Numeric Field with SQL? Date: 1999/04/02 Message-ID: <3704783a$0$13028@news2.zeelandnet.nl> X-Deja-AN: 461876982 X-Trace: dreaderd.zeelandnet 923039802 13028 62.12.16.9 Newsgroups: borland.public.delphi.database X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3