Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
7
Answers
How to insert columns as rows?
srinivas P
13y
1.5k
1
Reply
Hi, to all
I have two tables
Example: class table
ClassId
Cassname
1
10th class
student table
classid
stuName
Address
1
xyz
hyd
1
abc
hyd
1
pqr
hyd
Now my requirement is i want to insert data following way
classid
stName
Address
stuName
address
stuname
address
1
xyz
hyd
abc
hyd
pqr
hyd
i want to display multiple columns data in single row
please help me
Thanks inadvance
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
performance on sql server joins
About sql server stored procedure for updating serial no column