TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ashok reddy
NA
10
0
Pivot Query
Sep 25 2012 4:02 AM
In my project i want to display the student attendance reports in Date wise..but i maintained a single table for storing all attendance details...In my table the records are stored as,
E.No Name Hourrs Date
225 Arun 9 08/25/2011
226 Jegankumar 8 08/25/2011
225 Arun 7.58 08/24/2011
226 Jegankumar 2.22 08/24/2011
225 Arun 8.36 08/23/2011
226 Jegankumar 9 08/23/2011
here i want a report in following format,
E.No Name 08/23/2011 08/24/2011 08/25/2011
225 Arun 8.36 7.58 9
226 Jegankumar 9 2.22 8
How to Write Query in pivot Table Please Send me any example.........
Reply
Answers (
1
)
Stored Procedure-Pivote Table
Joins In SQL SERVER