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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Parsing CSV Values Into Multiple Columns linked with another table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-15 : 00:20:21
Youri writes "Hello,
I have one table with treatments: ID, name, description and equipmentID.

A second table holds the equipment (ID + name)

In the field equipmentid I store the id of the equipment, because one treatment can use multiple equipment, I store it with separated values: 2;11;13

Is there a way to get a resultset (without stored procedures?) giving me all the fields from the first table and instead of the ID's in the column equipmentID, the names, like this: Name2, name11, ...

If not possible, is there another possibility?

Thanks,

Youri"
   

- Advertisement -