CRM Read-only DB user - Stored procedure/functions
We are in a cloud CRM environment. I'm trying to pulling data to a local location with the read-only DB user. Most of the data I can pull fine. However, I can't pull stuff from various stored procedures (USP_DATALIST_JOURNALENTRIES) or functions (UFN_PLEDGE_GETBALANCE, UFN_PLEDGE_GETPASTDUEAMOUNT, …) with the read only user. Our RWE users have no problem accessing those in our test environments.
Here are the workaround I'm considering, none of which I really like:
- Put the missing info into a datalist so I can do an API call for the data.
- This will be slow and will make a request per gift
- Turn my full SQL into a datalist so I can pull it all in one API call
- Fine, but will be significant effort to rework my logic into a stored procedure
- Warehousing the info or some other ETL would work but then wouldn't be live data
Recreating equivalent functionality off the tables directly was also considered but not something I want to do for many reasons.
Any other potential solutions I'm overlooking? Thanks!
Answers
-
For anyone interested, I found a Function close enough to the Stored Procedure and made a View pulling in data from the various Functions. The View can then be queried with the read-only DB user.
A few things less efficient than I would have liked but it works.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 658 Blackbaud Grantmaking™
- 579 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 943 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.8K SKY Developer
- 250 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 798 Community News
- 3K Jobs Board
- 55 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)