Re: [web2py] mysql import from csv problem

2019-02-20 Thread Ben Duncan
I Can't speak for MySql, only for Postgres.

In our MAJOR conversion from Informix to Postgres, we simple put a place
holder. Since we used pipes as delimiters, it looked something like this:

NAME|ADDRESS1||CITY|STATE|ZIP|PHONE1||AGE|BIRTHDATE| (etc...)
where there was nothing  for address 2 , or Phone number 2

You need to make sure all fields are accounted for in some way ...

Hope this helps ...

*Ben Duncan*
DBA / Chief Software Architect
Mississippi State Supreme Court
Electronic Filing Division


On Tue, Feb 19, 2019 at 3:13 PM Andrea Fae'  wrote:

> Hello, when I import with this procedure
> https://www.pythonanywhere.com/forums/topic/1288/ from csv to mysql, it
> alter the ids of some related tables and I have data not corresponding to
> the original exported csv. What can I do?
> What is my error? is it depending on charset or something related? thank
> you
>
> --
> 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.
>

-- 
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.


[web2py] mysql import from csv problem

2019-02-19 Thread Andrea Fae'
Hello, when I import with this 
procedure https://www.pythonanywhere.com/forums/topic/1288/ from csv to 
mysql, it alter the ids of some related tables and I have data not 
corresponding to the original exported csv. What can I do?
What is my error? is it depending on charset or something related? thank you

-- 
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.