Well, yes.. there is a reason.... a complete system is based on that DB, i didn't that system, so...
Thanks anyway 2008/12/8 teknoid <[EMAIL PROTECTED]> > > Yes, as brian said it's simply fixed by adding an 'id' (primary key) > column. > If, for whatever unbelievable reason, you cannot add primary key > column to your table... well, there are also other work-arounds > possible, depending on your specific need. > > > On Dec 6, 11:46 pm, brian <[EMAIL PROTECTED]> wrote: > > It's common with a lot of databases. Again, the workaround is to add > > an ID column. > > > > On Sat, Dec 6, 2008 at 12:33 PM, <[EMAIL PROTECTED]> wrote: > > > But this case is common in MSSQL, and I need use it. -.-! > > > > > 2008/12/5 teknoid <[EMAIL PROTECTED]> > > > > >> There is no support for composite keys in CakePHP. > > >> Add an 'id' column to your table. > > > > >> On Dec 5, 3:34 pm, Sabinas <[EMAIL PROTECTED]> wrote: > > >> > Hi, I dont speak englis very well but I will try. Mi problem is: > > > > >> > I have a table but this table have a primary key with two columns, > an > > >> > example: > > > > >> > sucursal folio > > >> > 1 1 > > >> > 2 1 > > >> > 1 2 > > >> > 2 2 > > > > >> > joining two columns we obtain the primary key.... i don know how to > > >> > make the relation in the model... somebody help me please. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
