BookmarkSubscribeRSS Feed
Sajid01
Meteorite | Level 14

I want to obtain the sql_id for query that is sent to the oracle database using Proc Sql.
Wondering if there is a way I can obtain it.

1 REPLY 1
Tom
Super User Tom
Super User

You will need to talk to your Oracle database admin for that.

 

You will probably need to show them the SQL code you ran.  So make sure to turn on the SAS options to show the SQL that was sent to the foreign database.

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n0sa0yux9sqf90n1ttzxhko2cit4.htm

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 save with the early bird rate—just $795!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 135 views
  • 0 likes
  • 2 in conversation