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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1324 views
  • 0 likes
  • 3 in conversation