If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Reg columns printing Verticvally Dynamically

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-03-11, 02:16
arunavlp arunavlp is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
Red face Reg columns printing Verticvally Dynamically

hi ,

i have a Table with book id,book publishing date.

i need to dispaly the count of the book in this format:-

Book Id Aug-1 Aug-2
b1 4 5
b2 4 5
b3 5 5
b4 9 15
b5 12 16

let me know the select statement to be used for adding the columns dynamically till the date i have in the column book publishing date.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On