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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:32:20+00:00 2026-05-15T09:32:20+00:00

I have a Data intensive problem which requires a lot of massaging and data

  • 0

I have a Data intensive problem which requires a lot of massaging and data manipulation and I’m putting this out there to see if anyone has an idea as to how to approach it.

In simplest form. I have a lot of tables which can be joined together to give me a price listing for dentists and how much each charges for a procedure.

so we have multiple tables that looks like this.

Dentist | Procedure1 | Procedure2 | Procedure3 | .........| Procedure?
John    | 500        | 342        | 434        | .........| 843
Dave    | 343        | 434        | 322        | NULLs....|
Mary    | 500        | 342        | 434        | .........| 843
Linda   | 500        | 342        | Null       | .........| 843

Dentists can have different number of procedures and different pricing for each procedures. But there are a lot of Dentists that have the same number of procedures and the same rates that goes with it. Internally, we create a unique ID for each of these so-called fee listings.

like John would be 001, Dave would be 002, but Mary would be fee 001 and Linda would be 003
It’s not so bad if I have to deal with this data once but these fee listings comes in flat files (csvs) which i basically have to DTS up to a SQL server to work with. and they come on a monthly bases. The pricing could change from month to month for each dentist which then would put them in a different unique ID internally.

Can someone shed some light on as to how to best approach this problem so that it’s most efficient to process on a monthly basis without having to do tons of data manipulation?

  1. what’s the best approach to finding out the duplicates of the fee listings?
  2. How do i keep track of updating a Dentist’s fee listing incase they change their rates the next month? if Mary decides to charge a different fee for procedure2, then she would have a different unique ID internally. how do i keep track of that on a monthly bases without having to delete everything and re-insert?
  3. There are a few million fee listings that I’m working with and some have standard rules that are based on zipcodes and some are just unique fee listings, what’s the approach here?
  4. I can write some kind of ad-hoc .net program to work with it but it’s a lot of data and working straight in SQL server would be easier for me.

any help would be great, thanks guys.

  • 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-15T09:32:21+00:00Added an answer on May 15, 2026 at 9:32 am

    You probably need to unpivot the data to normalize it – so that you end up with:

    Doctor: DoctorID, DoctorDetails...
    FeeSchedule: DoctorID, ScheduleID, EffectiveDate, OtherDetailAtThisLevel...
    FeeScheduleDetail: ScheduleID, ProcedureCode, Fee, OtherDetailAtThisLevel...
    

    When the data comes in for a doctor, it is pivoted, a new schedule is created and the detail rows are created from the unpivoted data.

    SSIS has an unpivot component which is fine – you would load the schedule first and then the detail. If the format varies significantly, you might need a custom data source or just avoid SSIS.

    This system would keep track of new schedules for doctors. If the schedule is identical for a doctor, you could simply not insert it.

    If this logic is extensive, you could load the data to staging tables (SSIS or whatever) and do all this in SQL (T-SQL also has an UNPIVOT operator). That can have advantages in that the code is all in one place and can do all its operations in sets.

    Regarding the zip codes, if the doctor doesn’t have a fee, are these like usual and customary fee? This could simply be determined from the zip code of the doctor row. In this case you have a few options. You can overlay the doctor fee schedule over a zip code fee schedule:

    ZipCodeSchedule: ZipScheduleID, ZipCode, EffectiveDate
    ZipCodeScheduleDetail: ZipScheduleID, ProcedureCode, Fee
    

    Or you could save this in the regular feeschedule (potentially with some kind of flag that it was defaulted to the UCR).

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

Sidebar

Related Questions

I have data in this form, Article ID Company A Company B Company C
I have data that looks like this: entities id name 1 Apple 2 Orange
If I have data like this: Key Name 1 Dan 2 Tom 3 Jon
I have data in a MySQL database. I am sending the user a URL
I have data coming from the database in the form of a DataSet .
I have data that looks like CUSTOMER, CUSTOMER_ID, PRODUCT ABC INC 1 XYX ABC
I have data from MySQL showing all organisations a customer got, with all details
I have data from a table in a database (string) that contain text and
I have data that needs to be executed on a certain background thread. I
I often have data in Excel or text that I need to get into

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.