Welcome to Forums Sign in | Join | Help | Forums
in Search


SQL Query list of Constituent Attributes

Last post 08-01-2008 5:39 PM by John Rice. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-31-2008 9:47 PM

    • John Rice
    • Not Ranked
    • Posts 3
    • Organization: Gamma Phi Beta Foundation

    SQL Query list of Constituent Attributes

    Greetings;

    I need to be able to submit a SQL query to generate a list of Constituent Attributes from Raisers Edge.  My first thought was to use the “AttributeTypes” table; however, I cannot seem to figure out how to query it to _only_ give me Constituent attributes, not all attributes.

    Basically, I am trying to get a SQL query to duplicate the same results you would get if you where to go into Configuration – Attributes – Constituent and then export the attribute grid.

    Thank you.

     

  • 08-01-2008 9:00 AM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: SQL Query list of Constituent Attributes

    The field RECORDTYPE determines which kind of records it can attach to.  I don't think there is a translation table.

    Drew 

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 08-01-2008 10:14 AM In reply to

    • Mitchell Gibbs
    • Top 50 Contributor
    • User Since: 2000
    • Posts 127
    • Organization: Advocate Charitable Foundation
    • Products:  The Raiser's Edge, Sphere

    Re: SQL Query list of Constituent Attributes

    I wasn't able to find a translation table within SQL, but I believe these are the values:

    CONSTITUENT = 1
    GIFT = 2
    ACTION = 3
    EDUCATION = 4
    SPECIAL_EVENT = 5
    PARTICIPANT = 6
    CAMPAIGN = 7
    APPEAL = 8
    FUND = 10
    PACKAGE = 11
    CONSTIT_ADDRESS = 12
    JOB = 13
    MEMBERSHIP = 14
    INDIVIDUAL_RELATIONSHIP = 15
    ORGANIZATION_RELATIONSHIP = 16
    FINANCIAL = 17
    PROPOSAL = 18

    Mitch

  • 08-01-2008 5:39 PM In reply to

    • John Rice
    • Not Ranked
    • Posts 3
    • Organization: Gamma Phi Beta Foundation

    Re: SQL Query list of Constituent Attributes

    Thank you VERY much.  This will do quite nicely.

Page 1 of 1 (4 items)