How do we know if implicit pass through haapened or not .. or if using LIBNAME enging then how do we know if processing haapened at DBMS side or SAS Side. Would there is only oprion is DEBUG = DEDUG_SELECT or there is any other way also.
Have you checked the MSGLEVEL option in the log?
Hi Reeza, I don't see anything when turn on msglevel option. when use DEBUG=DBMS_SELECT , I can see following message but only when use distinct in sql query.
DEBUG: SQL Implicit Passthru stmt used for fetching data.
ACCESS ENGINE: SQL statement was passed to the DBMS for fetching data.
if same query runs without distinct , I don't see any message like this. so I am just trying to understand if implict pass through could even happen but message is not displayed. Is there any other way to know if implicit pass through happened or not apart from DEBUG=DBMS_SELECT options.
options sastrace=',,,d' sastraceloc=saslog ;
Once you see the native sql translating into RDBMS sql in LOG.
then the SQL should be executed at DB side.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.