On Sun, Mar 1, 2009 at 4:31 AM, carlo <[email protected]> wrote:

>
> the problem is tables on the as400 side are without any increment
> field (and they contain up to 80k records..).


Then you will not be able to use web2py DAL to access these databases - DAL
always generates a field "id" which is assumed to be autoincrement index
field by which rows can be uniquely identified.



> But this is not a
> problem as long as you just use select queries (as400 data are just
> input) as I tested directly.


You will have errors, as the ID field from DAL will be there, but not in
your table.

You will need to use SQL directly - or you will need to make a view or copy
of the table(s) and provide a unique primary key called "id".


>
>
> carlo
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to