On Jul 23, 12:47 pm, gillengam <[email protected]> wrote:
> Book pag.143 - Legacy Databases paragraph
> In my database Oracle I have a table with a field called 'id' (primary
> key),
> but 'id' is type PREF0001, PREF0002, PREF0003, .......
> I use a function to insert new record.
> Is this a problem for WEB2PY? Or must I add auto-increment integer
> field?
> I hope no.

Until the new DAL is released, I believe that the id key needs to be
auto-increment integer, sorry.

> Other question: can I query an Oracle view (I can access it read only,
> I cannot modify it and it has not auto-increment integer field 'id')

The same answer, I believe.

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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