I've found this BUG with1.0.65, later I checked with 1.0.63, but it performs the same. When creating tables using CREATE TABLE x AS SELECT * FROM y WHERE ... the created table does not inherit the data types of the original table! for example: The original 'BinaryAttachment' is: CREATE TABLE...