> SELECT POSITION(cast(ascii_char(1) AS BLOB SUB_TYPE BINARY), > CAST(x'0001' as blob sub_type binary)) FROM rdb$database;
Nice. Thanks. It even looks like I don't need the first CAST. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel