Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

return a column as a row

Status
Not open for further replies.

TRYP

Programmer
Jun 20, 2000
136
US
how can i return a 1 column result set as a multi-column single row ????

tryp
 
In your select statement, include as many pseudo-columns as you need.
[tt]
select MyColumn, ' ', ' ', ' ' from MyTable where MyKey = MyKeyValue;
[/tt]

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top