Hi All,

I have a postgre DB with many tables , and each table has its sequence .
I have files contain sql statement to insert initial data into tables , and that insert statements inset IDs for the tables without using sequences ,so after I import the sql files , there will be data at tables , now if i want to insert new data I should reset all the sequences to start from the last id for each table, so how can i do that?
plz help me.