Since T-SQL has no array data type, passing delimited strings is a great way to send a variable number of parameters to a function or stored procedure. This function behaves similarly to the VBScript function or Javascript String.split method. You pass it a delimited string and the delimiter where the split should occur. Returns a table data type as a psuedo array. I have added to my model database so a copy is made for all new DBs
Case sensitive CHARINDEX Function
Microsoft missed the code boat on this one. Use this function to find the true index of set of characters.
2002-04-18
572 reads