Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
werhardt
Constraint Violating Yak Guru
270 Posts |
Posted - 2011-10-13 : 10:09:23
|
| Can this type of layout be done in SQL? A Client is requesting it.Pro AdressFIRST NAME ADDRESSLAS NAME ADDRESS2MIDDLE NDAME CITYSUFFIX STATESSN COUNTYDEGREE ZIP CODENPI ZIP CODE EXT ADDRESS TERM DATE The way I have the format now is that the data is just going accross example....First Name Last Name Suffix SSN DEGREE NPI ADDRESS....etc.If anyone can give me some kind of guidence that would be great.Thanks! |
|
|
Grifter
Constraint Violating Yak Guru
274 Posts |
Posted - 2011-10-13 : 11:11:45
|
Can you make your data requirement a bit more clearer i.e. data you have and data you expect out. If you want to show a table layout use code quotes like so:column1 column2======= =======A BC DE F |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-13 : 11:15:16
|
| have a look at UNPIVOT operator------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|