opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.

Membership Plan Patient List Query

SQL Queries3 min read4/9/2026

If you are struggling to keep track of which patients are currently enrolled in your in-house membership plan, this query will generate a clean list for you. It identifies active patients who have been assigned a specific fee schedule often used for membership plan tracking.

The Query

This query assumes you have set up a specific fee schedule for your membership plan (e.g., named "Membership Plan"). You will need to replace 'Membership Plan' in the query below with the exact name of the fee schedule you use in your practice.

/* Replace 'Membership Plan' with the exact name of your fee schedule */
SET @FeeSchedName = 'Membership Plan';

SELECT 
    p.LName, 
    p.FName, 
    p.HmPhone, 
    p.Email, 
    fs.Description AS FeeSchedule
FROM patient p
INNER JOIN feesched fs ON p.FeeSched = fs.FeeSchedNum
WHERE p.PatStatus = 0
AND fs.Description = @FeeSchedName
ORDER BY p.LName, p.FName;

How to Run This Query

  1. In Open Dental, go to Reports in the Main Menu.
  2. Click User Query.
  3. Paste the query provided above into the large text box.
  4. Change 'Membership Plan' in the first line to match the exact name of your membership fee schedule.
  5. Click Submit Query.
  6. The results will display in the grid below.

Understanding the Results

How to Customize

You can easily narrow down your results by adding filters to the WHERE clause.

Variations

If you want to see a list of all patients and their assigned fee schedules to audit who is on which plan, you can remove the AND fs.Description = @FeeSchedName line. This will show every active patient and the fee schedule attached to their account, which is useful for identifying patients who might have been assigned the wrong schedule by mistake.

Skip the Query — Use DentalCanvas Instead

Don't want to write SQL? DentalCanvas connects to your Open Dental database and shows you this data automatically in a visual dashboard — no queries required.


This article is provided by opendentalsupport.com, an independent community resource. We are not affiliated with Open Dental Software, Inc.

Stop Writing SQL.

DentalCanvas connects directly to your Open Dental database and shows you production, collections, scheduling, and more — in a visual dashboard you can understand at a glance. No queries. No exports. Just answers.

Try DentalCanvas

Was this article helpful?

Related Articles

opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.