Sebastian von Conrad wrote:
> Vishnu,
> 
> What's wrong with using "ID" as the primary key instead of
> "ordernumber"? I would strongly advise doing so; you will most likely
> save yourself (and others) current and future headaches by adopting
> this practice.
> 
> Best regards,
> Sebastian
> 
> On Oct 31, 4:15�pm, Vishnu First <[email protected]>

Sebastian,

Thank you for your reply. Its right to keep "ID" as primary key. But, my 
client requirement is to keep the "ordernumber" as primary key. So, I am 
trying to fix with this.

Thank you
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to