← Back to team overview

drizzle-discuss team mailing list archive

Re: tables must have a primary key

 

++

No, +10.

On Wed, Apr 7, 2010 at 11:40 AM, Brian Aker <brian@xxxxxxxxxxx> wrote:
> Hi!
>
> On Apr 7, 2010, at 6:09 AM, Jay Pipes wrote:
>
>> On Wed, Apr 7, 2010 at 2:29 AM, Stewart Smith <stewart@xxxxxxxxxxxxxxxx>
>> wrote:
>>>
>>> So, for Embedded InnoDB, currently I have a requirement that all tables
>>> must have a primary key.
>>
>> FWIW, I've never heard a good argument for not having a primary key on
>> a table. Ever.
>
> Haven't I been saying we should require these?
>
> We can use hidden ones, like I pointed out in the earlier email, but I
> suspect we would be better off just requiring them.
>
> This might fall into the bucket of "no hidden magic".
>
> Cheers,
>        -Brian
>
>



References