If you run PROC CONTENTS on tables/views that are in a foreign database (Oracle, Teradata, etc) then it will not report the number of observations. It has nothing to do with the size of the table. When SAS writes a SAS dataset it stores the number of observations where PROC CONTENTS can retrieve it without counting all of the rows. It cannot do that for external databases.
Hi Tom,
Thank you for your nice clarification .
Hi Scott_Mitchell,
Thank you for your ontribution.
Regards
Mirisage
What do you mean by a 'warehouse'? If it is in some non-SAS database management system (oracle, teradata, etc) then SAS cannot know the number of observations without asking the database.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.