dbTalk Databases Forums  

Dynamic Columns

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Dynamic Columns in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
aCe
 
Posts: n/a

Default Dynamic Columns - 08-23-2007 , 03:29 AM






Hi all again,
I need an output like :
Quote:
----|----|----|---|------|
row1|row2|row3|...|row(n)|
----|----|----|---|------|
is possible to create output like that, without querying manually
cause too many dynamic columns in my application.
sorry if my question a bit weird cause i'm a newbie in MSSQL.

Cheers.



Reply With Quote
  #2  
Old   
Ed Murphy
 
Posts: n/a

Default Re: Dynamic Columns - 09-05-2007 , 11:32 PM






aCe wrote:

Quote:
I need an output like :
|----|----|----|---|------|
|row1|row2|row3|...|row(n)|
|----|----|----|---|------|
I recommend you return normal data (where the rows are, y'know, rows)
from your database layer, then rearrange them in your reporting
layer. (If you don't have a reporting layer, then I recommend you
add one; I like Crystal Reports, myself.)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.