On Tuesday, October 25, 2016 at 8:08:28 AM UTC-7, Ian W. Scott wrote:
>
> Okay, that's what I was afraid of. Thanks.
>
> Ian
>
> On Tuesday, October 25, 2016 at 10:06:19 AM UTC-4, Richard wrote:
>>
>> You can't just change the field type, you have to create another column 
>> of string type then insert your data from a select of the other column into 
>> it then delete the old useless column... You need to transform the integer 
>> into text at the insert step...
>>
>> Richard
>>
>
I would try using a csv export/import.  If it's a large table, I can see 
some pain, but it should be simple in python, awk, or even sed to toss in 
quotes in the right column.

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to