Welcome Guest, Not a member yet? Register   Sign In
Table fields for "friends" ... more of a MySQL Question
#8

[eluser]webthink[/eluser]
It seems we're losing sight of the issue a bit but rweston, I seem to remember something to do with LIKE statements not being able to use indicies. You might want to look into that.
Either way I think for jonnyjon's case the OR solution I provided above is probably the best way to go. That is after all what OR was designed for. UNIONS are typically used to join 2 tables of unrelated data which isn't really what we're dealing with here.


Messages In This Thread
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-04-2008, 10:26 PM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 01:24 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 01:29 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 01:32 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 01:41 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 02:07 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 02:21 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 03:04 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 08:09 AM
Table fields for "friends" ... more of a MySQL Question - by El Forum - 03-05-2008, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB