BookmarkSubscribeRSS Feed
renjithr
Quartz | Level 8

Could you please let me know how to limit obs in a pass-thru sql.I am pulling the data from oracle database.

Below is my code:

proc sql   ;

connect to oracle as ora

(user = &user. password = &pw path = OraPath);

create table zsz as

select * from connection to ora

(

select *

from  (

select

name

from employee

);

disconnect from ora;

quit;

1 REPLY 1
SASKiwi
PROC Star

This is already answered in your earlier post:

http://communities.sas.com/message/116291#116291

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1388 views
  • 0 likes
  • 2 in conversation