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

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -