After RODBA is unlocked, you may view the SQL query with the following steps:
  1. Open the desired query within the Blackbaud application.
  2. Click View > SQL  (Ctrl + Q).  This will then display a window with the SQL code behind that query.
View SQL