tminos
11-07-2000, 03:31 PM
While making a table in a PostgreSQL database, I believe I made one field waaay too big. What I want to do is make the field (in this case, name) to be something like 20 chars wide instead of 50. In a book I have it says to use
alter table <name>
change name
name varchar(20);
and that would fix it, but PostgreSQL doesn't like the "change" command. Any ideas?
alter table <name>
change name
name varchar(20);
and that would fix it, but PostgreSQL doesn't like the "change" command. Any ideas?