Subject | Re: [firebird-support] Question regarding index |
---|---|
Author | Doug Chamberlin |
Post date | 2011-09-11T18:45:02Z |
On 9/11/11 2:17 PM, firebirdsql wrote:
change the primary key to (username, start_date, title).
BTW, what's your name?
> If I a tables primary key is (username, title, start_date)...I'm guessing itDon't know the answer but one way to avoid the question altogether is to
> will create an index on (username, title, start_date).
>
> If I'm querying by username, start_date, will it still use the index OR do I
> need to add an extra index for username, start_date)?
change the primary key to (username, start_date, title).
BTW, what's your name?