Query in SQL Management Studio and RE7
Options
Hi there,
I am about to start a new job using RE7. I am very good with T-SQL and I was wondering if I can make data selections using T-SQL on RE using Microsoft Management Studio.
Thank you
I am about to start a new job using RE7. I am very good with T-SQL and I was wondering if I can make data selections using T-SQL on RE using Microsoft Management Studio.
Thank you
Tagged:
0
Comments
-
Yes you can. You'll need security rights to the database obviously, and if you write anything to the db you'll void your service contract, but if you stick with read-only and just use SSMS to view and select data, it works fine.
Edited to add: but other people won't be able to use those queries; there's nowhere to save them in the front end of RE.2 -
Although I am a novice at T-SQL, I am attempting the same thing you are and am in the midst of obtaining read-only access to our SQL Server instance that contains our backend Raiser's Edge database. Below are some tidbits that I've found helpful:
Blackbaud offers an optional plug-in called the "Read Only Database Assistance Query Tool" (RODBA) that is free to those folks that have a certain level service agreement with Blackbaud support. You can find out more details about the RODBA plug in by going to the blackbaud website and looking it up in the Knowledgebase...very helpful. The big advantage is that it allows you to view any RE query in actual SQL, so you can see how RE queries are formed in SQL, helping you craft how you form your queries in SSMS. So, you can take a query that does what you want, view it in the RODBA plug in, grasp the SQL behind the query, and then expand on that, rather than starting from scratch.
There is also a helpfile that becomes unlocked when you enable the RODBA module discussed above...this helpfile provides a great resource to understand how the Raiser's Edge schema is constructed, as the RE table structure is definitely not intuitive. I highly recommend you use this helpfile, along with the RODBA plugin, and SSMS to more efficiently figure out how to hit the back end data.
I am planning on using SSMS to access additional RE fields that RE Query does not expose.
Hope this helps!!3 -
Thank you for your useful answers!
Do you know if I might use the RODBA even if I use RE NXT?0 -
I don't know the answer about NXT, but if it's not included, it might make you feel any better RODBA is only a starting point. It's good for that but you'll very quickly see that the SQL that the system generates can be pretty obtuse -- it aliases tables with their own name or just as T_1, T_2, etc. it refers to system tables that apparently are added to pretty frequently but there's no indication what they are. It's not that helpful, for instance, when you see a line like this:
left outer join DBO.tmp2775726_477508300_1 as T_3_3_42125 on RECORDS.ID = T_3_3_42125.CONSTIT_ID
uh... ok.
That said, at least for starting out getting the schema somewhat down, figuring out which functions pull primary adressee, preferred address, views that handle hard and soft credits of gifts, etc., it's definitely useful.
Alternately post any questions here and there are a few of us around who might be able to help. I'm much closer to novice than expert when it comes to writing SQL, but I've figured out some stuff about how it's all set up.0 -
Perhaps this will help out a little with RODBA: https://www.blackbaud.com/support/faqs/rodba.aspx
Instructions for unlocking the RODBA module can be found here: https://kb.blackbaud.com/articles/Article/75705
Remember, however, that you need the Advantage Professional and Advantage Priority Maintenance level agreement to get the RODBA for free.
The RODBA FAQ link addresses several questions you probably have (or will have) and gives you a good introduction. I haven't found anywhere that specifically addresses compatibility with Raiser's Edge NXT, but I would guess, yes, it would work, as you would be using RE NXT in the Database Admin role and therefore using the normal RE7 client (RE 7.95), rather than the spiffy NXT GUI for other non-DBA roles. However, I cannot 100% confirm this...just a guess.
I would agree with James as well...RODBA is good place to start and wrap your head around the schema and how RE really operates behind the scenes. I think it is worth your time to do this, however. Jumping directly into SSMS and hitting the RE backend database directly with no knowledge of the underlying RE database structure will make for a difficult and frustrating experience, in my opinion.2 -
RODBA is not available in the Blackbaud Hosting Services environment, which includes NXT.
1 -
There is also a Help Guide in the RE Folder, RE7Schema.chm, that does provide a list of tabels and views. It has really helped me understand the relationships between the tables and views. I would have to agree with the other posts that the RODBA is a good starting point, but many times it does not really provide the answer. The Functions are really important for Names, Linked Gifts, etc.
If you are planning on using SSRS or another platform for expossing the data, then it is really helpful to be in the DB, otherwise you are better off just using Query. Currently, we export data using SSIS to our own custom ODS. This has been extremely powerful for the reporting that we provide to our users through SSRS and QlikSense.
NXT is supposed to be releasing some APIs that would allow you to access the DB, but until that happens, there is no access. So if you plan on going down the TSQL route, you will have to wait awhile before you will have that same access in NXT, and then do it all over again using their API.
Cheers,
David3
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 1 YourCause® from Blackbaud®
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 1.1K ARCHIVED FORUMS | Inactive and/or Completed EAPs
- 3 Blackbaud Staff Discussions
- 7.7K ARCHIVED FORUM CATEGORY [ID 304]
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board