Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching a string for the third (or more) occurrence of a value

Status
Not open for further replies.

SilentDeb

MIS
Mar 18, 2003
9
CA
Hello,

We've got a bit of a problem where we're trying to split apart portions of a string and use that portion to populate another field in a table.

This is our CM software, and it contains problem types that might be along the line of 'SW-Server-SQL Server 2000-Backups-Not Working'. Workflow already exists in the application that uses SQL Server that'll split out the 'SQL Server 2000' part and place it into a 'Category 3' field, 'Backups' into 'Category 4', and so forth as a new record is created, but we've got something like 130,000 existing records that we need to update, and we can't begin to figure out how.

Each 'categoryX' chunk is separated by a dash, but the category itself could be of any length.

Any suggestions are appreciated!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top