You are here: Re: Output Column names in each Row along with the row Value « MsSQL Server « IT news, forums, messages
Re: Output Column names in each Row along with the row Value

Posted by Yas on 07/01/07 10:52

On 29 Jun, 23:38, Erland Sommarskog <esq...@sommarskog.se> wrote:
> Yas (yas...@gmail.com) writes:
> > Now I can just do...
> > SELECT 'FirstName', firstName, 'SecondName', secondName,
> > 'Occupation' occupation
> > FROM Table1
> > Which would output the table I want with the values between '' showing
> > up in unnamed columns.... BUT is there a better way of doing this?
>
> That would indeed be the way to do it.

Thanks! :-)

 

Navigation:

[Reply to this 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

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