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 7716031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:32:06+00:00 2026-06-01T02:32:06+00:00

Is there a way to join tables on one field that represents a series

  • 0

Is there a way to join tables on one field that represents a series of valid values? For example, one table has a number or string with “51234” and the other has something like “46610..46680|48670|50000..54280|48240”. If there isn’t a way to directly join these, is there a way to convert that series to rows with each number in it for a table variable or something like that?

That series column is being generated from Dynamics Nav 5.0 SP1 for general ledger accounts being mapped to departments. I have very little experience with that system, and a LOT of what we have was customizations that a third party was contracted to do, so that may or may not even be standard… I don’t even have direct access to the database for that either, but as far as I can tell, that series is being stored as a varchar(100).

I’ve searched around a lot, but I haven’t seen anything like what I need to do. Hopefully someone here has some ideas..

  • 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-06-01T02:32:08+00:00Added an answer on June 1, 2026 at 2:32 am

    Firstly, that’s poor database design so shame on Dynamics Nav or your 3rd party contractor they should know better. You can join tables on columns that are stored like that.

    It may be possible to construct a LIKE clause that works for you
    t1 JOIN t2 ON t1.id LIKE ('%' + t2.id + '%')

    So if t1 Were ‘46610|46680|50000|’ and t2 Were 46680 this would be a match. However, this will quickly get unruly and may be difficult to accomplish exactly what you are trying to do.

    Your best bet is to normalize the data. Which is doing exactly what you suggested and breaking out each of the values into their own row. While there is no internal ‘split’ function that will accomplish this. Here is an SO post about split for sql server : link.

    Honestly, though this sounds like a problem that may be beyond your ability to handle (no direct access to DB). I would suggest hiring someone to re-write this to create normalized data in the first place or requesting whomever does have access to fix this process.

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

Sidebar

Related Questions

Since there is no way to join tables using Google App Engine datastore, I
In SQL Server there is a way to join tables from multiple sql servers
Is there a way to avoid adding a second LEFT JOIN for the table
I have 8 separate tables. Each table has id, a datetime field and some
is there a way to join 2 NodeLists returned by 2 calls of document.getElementsByTagName?
Is there a quick way to join paths like the Join-Path function in Powershell?
Given an NSArray of NSStrings, is there a quick way to join them together
in F#, array.append can join two arrays; is there a way to append 2
I'm trying to use natural join to join two tables in mySQL that have
I have two tables on mysql: users, and management. The users table has a

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.