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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1607 views
  • 0 likes
  • 3 in conversation