Re: Challenge: Search all fields in all tables for string On 16 Jan, 02:10, javelin <google.1.jvm...@spamgourmet.com> wrote:
> There are various reasons I'd like to do this, so I don't want to
> detail that here. I can easily do this within a SQL Server stored
> procedure, by creating a list of all tables, and for each table, run a
> search to list of all fields, then run a query on the current table in
> the current field for a parameter. Then, I would move on to the next
> one. However, I'm not sure how to do that in MySQL. Any helpful code
> available out there? I'm not sure quote how to google this one, so I
> keep coming up with junk.
>
> Thanks.
>
> J
Sounds like you need to normalise your design |