On Jan 9, 2011, at 11:56 PM, Paul McNett wrote:

>> avoid using a table column with the name of id ??? Really?
>> 
>> All my auto increment fields for the primary key in all my tables are set as
>> the name id.   Yikes
> 
> No, don't worry about it. I use "id" as my pk name too, and I've never had a 
> problem.

        If the name 'id' is never used in Python, and you don't need the id() 
function, then it's fine. But it's still never a good idea to use reserved 
words or builtin function names in your Python code. I've adopted 'pkid' as my 
standard for database PK columns.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to