lesleyann76
3/30/2007 1:38:00 AM
In sql, in a given column I have records with information in them
which is separated by commas (ie, 1,2,5,8,12) or (KD, K, DF) etc., yet
it is all contained in one field. Well ordinarily when I evaluate the
contents of a field I am familiar with referring to the object.column
and generally looking at the contents of the located field as a
whole. When I have those fields in which multiple items of
information, separated by commas are all contained in one field how to
I refer to them. For instance, I could :
SELECT [ProductionLineNumber]
FROM ProductionTable
HAVING [ProductionLineNumber] = 8;
But if a targeted field in [ProductionLineNumber] contains 1,2,5,8,12
in its record it will return nothing because I don't know how to refer
to each of the items independently as they are grouped in the same
cell.