This SQL2000 function accepts a delimited list of values as a string and the character you want to use as a delimiter.
The function then splits these out and returns them as a table.
The function assumes that the input string will contain unique integer values.
Useage: - SELECT Id FROM fnSplit('1,2,3,4' , ',')
A Normalization Primer
For most DBAs, normalization is an understood concept, a bread and butter bit of knowledge. However, it is not at all unusual to review a database design by a development group for an OLTP (OnLine Transaction Processing) environment and find that the schema chosen is anything but properly normalized. This article by Brian Kelley will give you the core knowledge to data model.
2003-01-13
18,598 reads