0

Possible Duplicate:
Split Function equivalent in tsql?

I have a column that contains data in the form:

CustomerZip::12345||AccountId::1111111||s_Is_Advertiser::True||ManagedBy::3000||CustomerID::5555555||

Does SQL have any sort of built in function to easily parse out this data, or will I have to build my own complicated mess of patindex/substring functions to pull each value into its own field?

Community
  • 1
  • 1
Anthony L
  • 121
  • 1
  • 1
  • 4

1 Answers1

0

I don't believe there is anything built in. Look at the comments posted against your original question.

If this is something you're going to need on a regular basis, consider writing a view.

Robbie Dee
  • 1,939
  • 16
  • 43