troubleshooting Question

How to use substring to split a string value

Avatar of jjliu4492
jjliu4492 asked on
Microsoft SQL Server 2008
11 Comments2 Solutions772 ViewsLast Modified:
I have a string value, that I want to separate into 6 strings. The delimiter is _. So for this string, the six values would be: How would I go about splitting the string in SQL Server 2008?

TAMPA, FL_VASTEC__ACCESSIBILITY TRAINING_508_FIRST

TAMPA, FL
VASTEC
null
ACCESSIBILITY TRAINING
508
FIRST
ASKER CERTIFIED SOLUTION
RGBDart

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros