From: TFL)久村 孝之 <hisamura.takayuki @ tfl.fujitsu.com> Date: Tue, 27 Jul 2004 11:51:11 +0900 > select id from test_table where (id & x'FF0000') = x'080000'; select id from test_table where (id & cast(x'FF0000' as integer)) = cast(x'080000' as integer); で、どうでしょうか。 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= (株) セントラル情報センター 後藤和政 kgotoh @ cic-kk.co.jp