sql - invalid input syntax for integer: "E00001"-PostgreSQL -
i'm trying implement following code in postgresql , error below:
select distinct * ( select distinct vendor,lag(cast(vendor bigint)) on (order cast(vendor bigint)) previous_vendor, (cast(vendor bigint) - lag(cast(vendor bigint)) on (order cast(vendor bigint))-1) gaps_in_sequence vendor_view vendor not $$%a%$$ , vendor not $$%c%$$ , vendor not null , vendor not '%-%' , vendor not 't%' ) gaps_in_sequence > 0 , previous_vendor not null order vendor; error: invalid input syntax integer: "e00001" what mean? how should remove this? suggestions appreciated.
Comments
Post a Comment