I agree with oy on all points, Michael.
Often times I am able to find a table in Campus Solutions, via inspect element, that is not on my query tree. Now I won't know if that table is worth getting added to my Query Tree. I then go into SQL developer to see if it is worth getting. If I need the table structure for an equation engine callable SQL, I will then just make the SQL there and port it over with the limitations in mind (e.g. CTE does not work in callable SQL due to SQL Parm Miscount).
------------------------------
Daniel Labrecque
Senior 2 Business Systems Analyst/Functional Architect
University of Nevada, Las Vegas
------------------------------
Message from the HEUG Marketplace:------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the
HEUG Marketplace.
------------------------------
Original Message:
Sent: 02-25-2025 10:56 AM
From: Michael Williams
Subject: SQL vs. PSQuery – When Do You Use One Over the Other?
My preference would be to forego PSQuery altogether, but unfortunately, that is not the world I live in. SQL brings things like CTEs, inline views, ANSI joins (for everything) that PSQuery cannot emulate. PSQuery allows you to do population selections via query, which is easier and faster than either creating views or using processes like SQRs or Equation Engine with callable SQL. PSQuery in combination with BI Publisher can make for some dynamic reporting that brings advantages over straight SQL, but it really depends on your environment and the other reporting tools at your disposal.
I do find both useful in scenarios where I'm making a change in Production, but want to try the updated query in one of our test instances. I can take the SQL from PSQuery and place it in SQL Developer (with some minor adjustments) and try it against one of the test DBs. It makes the process faster than either having to wait for the change in Prod to rollover to the Test instances the next day or making a change management request.
------------------------------
Michael Williams
Systems Analyst
University of Connecticut
------------------------------
Message from the HEUG Marketplace:
------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the HEUG Marketplace.
Original Message:
Sent: 02-25-2025 10:28 AM
From: Daniel Labrecque
Subject: SQL vs. PSQuery – When Do You Use One Over the Other?
PSQuery is great for quick reporting, but sometimes you need full SQL to get the job done. When do you prefer PSQuery, and when do you switch to SQL? Do you use both together? Let's discuss use cases where one shines over the other!
------------------------------
Daniel Labrecque
Senior 2 Business Systems Analyst/Functional Architect
University of Nevada, Las Vegas
------------------------------
Message from the HEUG Marketplace:
------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the HEUG Marketplace.
------------------------------