BookmarkSubscribeRSS Feed
Pavan_SAS
SAS Employee
using sql pass through facility is betetr option or libname statement with oracle engine?

can any 1 list out the advantages and disadvantages?

Thnaks in Advance...
2 REPLIES 2
LinusH
Tourmaline | Level 20
Been discussed several times throughout different forums, use the search facility.

Major pro: more control over Oracle SQL execution
Major con: no need for Oracle specific coding, less complicated code.

/Linus
Data never sleeps
SASKiwi
PROC Star
I think it is not a case of one being better than the other but what is most appropriate for your situation. For example, we use passthru for our large Oracle Production jobs as it is easier to fine-tune, add Oracle hints for better performance and to get support from Oracle DBA's if things go wrong (you can drop the query into SQL Plus, TOAD or some other SQL tool and it will just work).

But for ad-hoc work and user jobs SAS SQL is simpler and more productive.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 1440 views
  • 0 likes
  • 3 in conversation