btw i'm using postgresQL...
I've already changed the table column datatype ( with the help and guidance of my colleague 'blizz' 🙂 ) by:
pgdump databasename > filename.sql
Edit filename.sql and change datatype by:
vi filename.sql
3.createdb newdatabasename
- psql newdatabasename < filename.sql
outcome is a new db the same with my original db except for the changes I made with the column datatype..
I don't have to drop my tables and views.
thanks anyway...
🙂