Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6906885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:21:59+00:00 2026-05-27T08:21:59+00:00

I researched delimit issue for a while and I pull useful codes here and

  • 0

I researched delimit issue for a while and I pull useful codes here and there, but I can’t quite put it together.
I’m trying to parse the string by word in SSIS and I NEED help on vb script component.
I need to delimit my column data to the following deliminator:
“AND”,”OR”,”**”, “,”
I have a table like this

ID Description
1 apple AND orange, tangerine
2 avocado OR guacamole AND pineapple OR fruit
3 watermelon ** melon

And I want to parse the data like this

ID Description
1 apple
1 orange
1 tangerine
2 avocado
2 guacamole
2 pineapple
2 fruit
3 watermelon
3 melon

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:22:00+00:00Added an answer on May 27, 2026 at 8:22 am

    In order to parte string by words is enought a combination of replace a split:

    (I assume that you know how to take ID)

    split(
      replace(
       replace (
         replace( Description, "AND", ","),
         "OR", ","
       ),
       "**", ","
      ), ","
    )
    

    this return a array of elements as you ask for:

    id = 2
    a=my_previous_functions_combination("avocado OR guacamole AND pineapple OR fruit")
    for each fruit in a
        do something with id and fruit
    next
    

    so far, help with vb. I don’t know what you want to do in SSIS: a calculated member? a named set? Extend fact table? Read second answer part:

    Second part:

    To convert a row in multiples row you need a script. You can find a good example in SSIS – Script Component, Split single row to multiple rows post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I researched this a while ago and can't remember how to do it. I
I'm a drupal newbie... I researched but couldnot find :/ is there any predefined
I researched a little in this topic, but there are many opinions that don't
I've researched and found LOTS of similar requests, but nothing was quite what I
I have researched quite a bit about this but mostly by piecing other questions
I researched quite a bit on onClick changes for links but couldn't quite figure
There are several questions related to ScrollViewer that I've researched, but none of them
I have researched everywhere but still can't seem to fix a simple error: Running
I've researched this issue and can not find a solution. My problem is that
I researched at google but couldnot find anything. Is there a plug-in or anything

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.