Anyone knows how to store array or vector in ms sql server 2005? There is way to store array in oracle db but I don’t know about sql server.
eg:
st_id [1234]
st_mk [(12),(34),(67),(45)]
st_id [3456]
st_mk [(12),(34)]
Like above st_mk (the vector size) is not same.
Please help me…!!
In a separate child table?
Another option to store it as a string (
varchar), but this is less efficient and you would need to parse it.Another option is to use XML type column.