If you're using MySQL try this alter table tblname change oldcolumn newcolumn char(15)
On Sun, Jan 31, 2010 at 12:04 PM, weheh <richard_gor...@verizon.net> wrote: > Is there an easy way to rename a field without losing all the data > behind it? I'm not sure I want to go through the trouble of writing > all the data out, reformatting, and then reading it back in. > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.