Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
Need Sql query
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rdssiva
New Member
Join Date:
Apr 2010
Posts:
2
#1
Need Sql query
Apr 22 '10, 01:11 PM
Table Stru
ID Name
1 A
2 B
3 C
4 D
Want to display in Out put
Names
A b C D
E F G H
like
tell me the query
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#2
Apr 22 '10, 02:27 PM
what have you tried so far ?
Comment
Post
Cancel
rdssiva
New Member
Join Date:
Apr 2010
Posts:
2
#3
Apr 22 '10, 02:31 PM
Originally posted by
debasisdas
what have you tried so far ?
nothing i don't know how to start..plz help me
Comment
Post
Cancel
ck9663
Recognized Expert
Specialist
Join Date:
Jun 2007
Posts:
2878
#4
Apr 22 '10, 04:56 PM
Use PIVOT/UNPIVOT.
If it's a simple straight forward long string delimited by a comma or semi-colon, read
this
.
Happy Coding!!!
~~ CK
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment