sql server 2000 - I have a field in a table with IDs seperated by the | symbol -


i have table userid , licensed_state. data looks like:

userid       licensed_state 1             |10|11|51|56|73| 

the values within | | ids states in table tbllicensedstates (id, statename). data looks like:

id           statename 10           az 11           ca 51           nv 56           or 73           wa 

i want create view has userid , licensed state list. below.

userid      licensed states 1           az, ca, nv, or, wa 

i can not figure out how in create view statement. suggestions?

this inherited problem. can not remodel database. have work there. running sqlserver 2000.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -