Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello...

i have following query and i need to display in matrix format.
rows of matrix should show name of columns('alumina','caustic','ratio') while columns of matrix show values of shift ('A','B','C') and details of matrix should show actual values of columns('alumina','caustic','ration').

SQL
select e.empcode,c.shift,CONVERT(varchar,c.edatetime,101) as [date],c.alumina,c.caustic,c.ratio
from caustic_batch_tank c inner join employee e on c.empcode = e.empcode where CONVERT(datetime,c.edatetime,101) in ('05/06/2014')


but matrix does not show any data but i have data in database.
plz help me to show data in matrix format.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900