This is the create statement that I used to define the table.
create table test_tbl ("tractor_id" int4 not null, "op_date" date not null, "odometer" float4 not null, "operation_type" VARCHAR[15] not null, "axle" varchar, "axle_location" varchar, "detail" varchar, primary key ("tractor_id", "op_date", "odometer" ), foreign key ( "tractor_id" ) references tractor_mst(tractor_id) );
I think I found the problem, and I made it uppercase in this post, VARCHAR[15].
If this is indeed the problem, how do i specify the size of the varchar field.
TIA
John