Reply to Re: mysql_query where name unknown

Your name:

Reply:


Posted by Oli Filth on 09/27/05 20:40

Oak Hall said the following on 27/09/2005 18:33:
> I have a several tables the primary index field name in different in each
> one, how do I query with a 'where "column 1" = 3' if I do not know the name
> of that column only that it is the first field?? Thanks
> Oak
>
>

Execute the following MySQL statement:

SHOW COLUMNS FROM table

(where 'table' is the name of the table in question).

The result-set will be a list of the columns from that table.

--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация