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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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