Michael Dengler wrote: > Hi, > > Is there a query I can perform (perhaps on a system table) to return all > of the column names (ONLY the column names) for a given DB? (I seem to > remember doing this before but cant remember how) > > Thanks > > Mike > The 'columns' view in information_schema should do the trick for you. -Jon -- Senior Systems Developer Media Matters for America http://mediamatters.org/
Michael Dengler wrote:
> Hi,
>
> Is there a query I can perform (perhaps on a system table) to return all
> of the column names (ONLY the column names) for a given DB? (I seem to
> remember doing this before but cant remember how)
>
> Thanks
>
> Mike
>
The 'columns' view in information_schema should do the trick for you.
-Jon
--
Senior Systems Developer
Media Matters for America
http://mediamatters.org/
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера