|  | Hi Ian,
	Thanks for your help.
   > Do you have a collating sequence defined?
   > Can you give us a SQL script that produces the error?
   	No, I don't have collating and this note has a script below.
   Thanks...Pedro
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                           Database Definition File
--
--------------------------------------------------------------------------------
set verify;
set language ENGLISH;
set default date format 'SQL92';
set quoting rules 'SQL92';
set date format DATE 001, TIME 001;
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                         Physical Database Definition
--
--------------------------------------------------------------------------------
create database
    filename '[]ptakeo.RDB'
    dictionary is NOT REQUIRED
    protection is ACL
    number of users 50
    number of cluster nodes 16
    buffer size is 6 blocks
    number of buffers 20
    number of recovery buffers 20
    adjustable lock granularity ENABLED
    global buffers are DISABLED (number is 250, user limit 5)
    carry over locks are ENABLED
    lock timeout interval is 0 seconds
    statistics collection is ENABLED
    system index compression is DISABLED
    No restricted access
    snapshot is ENABLED IMMEDIATE
    -- read write storage area
    locking is row level
    page size is 2 blocks
    allocation is 603 pages
    extent is (minimum 99, maximum 9999, percent growth 20)
    snapshot allocation is 100 pages
    snapshot extent is (minimum 99, maximum 9999, percent growth 20)
; -- end create database
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                             Collating Sequences
--
--------------------------------------------------------------------------------
-- no collating sequences defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                              Domain Definitions
--
--------------------------------------------------------------------------------
-- no domains defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                             Function Definitions
--
--------------------------------------------------------------------------------
-- no functions defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                              Table Definitions
--
--------------------------------------------------------------------------------
create table TNAMES (
    CNAME
        CHAR (30));
 
commit work;
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                              Index Definitions
--
--------------------------------------------------------------------------------
-- no indices defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                           Storage Map Definitions
--
--------------------------------------------------------------------------------
-- no storage maps defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                               View Definitions
--
--------------------------------------------------------------------------------
-- no views defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                             Trigger Definitions
--
--------------------------------------------------------------------------------
-- no triggers defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                              Module Definitions
--
--------------------------------------------------------------------------------
-- no modules defined
-- RMU/EXTRACT for DEC Rdb V6.0-1                        21-FEB-1997 09:47:47.38
--
--                          Query Outline Definitions
--
--------------------------------------------------------------------------------
-- no outlines defined
insert into tnames values ('a');
insert into tnames values ('�');
insert into tnames values ('�');
insert into tnames values ('c');
insert into tnames values ('�');
commit;
select * from tnames where cname containing 'c';
select * from tnames where cname containing 'a';
 |